decodeBatch
decodeBatch(
batch,options?):Promise<BatchDecodeResult>
Defined in: packages/sdk/src/decode/decodeBatch.ts:29
Decode an EIP-5792 wallet_sendCalls batch. Each call is rendered with
decodeTransaction. The batch sentence joins per-call sentences with " and ".
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Promise<BatchDecodeResult>
Throws
Section titled “Throws”InvalidInputError INVALID_CHAIN_ID or INVALID_CALLDATA
when the batch itself is not usable, and the same codes as
decodeTransaction for each call.