/// import { SubmittableExtrinsic } from '@polkadot/api/types'; import { KeyringPair } from '@polkadot/keyring/types'; import { EventEmitter } from 'events'; /** * Save many submittable tx in single transaction. It uses the `batch` capability of the chain * @param txs * @param signer * * ```ts await api.api() const statements: SubmittableExtrinsic<'promise'>[] = any submitable tx const signer = getAlice() const o = await api.utils.saveBatch(txs, signer) o.on(EVENT_NAME_BATCH, p => console.log(p.message)) ``` */ export default function saveBatch(txs: Array>, signer: KeyringPair): Promise; //# sourceMappingURL=saveBatch.d.ts.map