import { TransactionType } from '@bitgo-beta/sdk-core'; import { BaseCoin as CoinConfig } from '@bitgo-beta/statics'; import { DecodedSignedTx, DecodedSigningPayload, UnsignedTransaction } from '@substrate/txwrapper-core'; import { Transaction } from './transaction'; import { TransactionBuilder } from './transactionBuilder'; export declare class BatchTransactionBuilder extends TransactionBuilder { protected _calls: string[]; protected _type: TransactionType; constructor(_coinConfig: Readonly); /** @inheritDoc */ protected buildTransaction(): UnsignedTransaction; /** * Build a transaction which batches together multiple transactions. * The transactions which are batched together are passed in as an array of hex strings * which are composed of the method to call and the arguments to pass into the method. * * @returns {UnsignedTransaction} * * @see https://polkadot.js.org/docs/substrate/extrinsics/#batchcalls-veccall */ protected buildBatchTransaction(): UnsignedTransaction; protected get transactionType(): TransactionType; /** * Set multiple unsigned transactions to be batched and broadcast as a single transaction * * @param {BatchCall[]} calls unsigned transactions * @returns {BatchTransactionBuilder} This batch transaction builder. */ calls(calls: string[]): this; /** @inheritdoc */ validateDecodedTransaction(decodedTxn: DecodedSigningPayload | DecodedSignedTx): void; /** @inheritdoc */ protected fromImplementation(rawTransaction: string): Transaction; /** @inheritdoc */ validateTransaction(_: Transaction): void; /** * Validate list of unsigned transactions added to batch * * @param {string[]} calls * */ validateCalls(calls: string[]): void; private validateFields; private validateBatchTransactionFields; private getAnonymousProxyCall; } //# sourceMappingURL=batchTransactionBuilder.d.ts.map