API reference
Vaultody
POST
/vaults/{vaultId}/transaction-requests/batch
Create Batch Transaction Request
Creates a batch transaction request that groups multiple asset transfers into a single EIP-7702–compliant transaction. The batch supports multiple recipient transfers initiated from a single sender and sponsored by a designated fee payer, enabling all operations to execute automically on supported EVM blockchains - Ethereum, Binance Smart Chain, Optimism, Base, Arbitrum, Polygon.
Path parameters
vaultId
string
required
Sender's Vault ID.
Query parameters
context
string
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user.
Body parameters application/json
context
string
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user.
data
object
required
item
object
required
feePayer
object
required
Fee payer data used to resolve blockchain/network
address
string
required
e.g. 0xa5bd60af2ed1499ce8292bb2e6c0179dcea34f...
Address responsible for paying transaction fees.
assetId
string
required
e.g. 6913471c6b2794841dc8fb7e
Asset used to pay gas fees.
feePriority
string
required
e.g. slow
Fee priority of the transaction - slow, standard, fast
slow
standard
fast
fromAddress
string
required
e.g. 0x9b08125f3fb134f0ebb462ccff0f463bcfb4f6...
Address initiating the batch transaction.
note
string
required
e.g. yourAdditionalInformationhere
Represents an note to add a free text in, explaining or providing additional detail on the transaction request.
recipients
object[]
required
Destination of the transaction.
address
string
required
e.g. 0xd2070342a1a5ce24930ec6582b3db846458525...
Recipient address for the transfer.
amount
string
required
e.g. 0.001
Amount to transfer.
assetId
string
required
e.g. 6913471c6b2794841dc8fb7e
Asset identifier being transferred.
vaultAccountId
string
e.g. 68dfae9739a4b80007c4f706
Unique identifier of the Vault Account.
Response
Returns 201 the request has been successful.
apiVersion
string
required
Specifies the version of the API that incorporates this endpoint.
requestId
string
required
Defines the ID of the request. The `requestId` is generated by Vaultody and it's unique for every request.
context
string
In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user.
data
object
required
item
object
required
amountUnit
string
required
Indicates the unit in which the transaction amount is expressed.
feePayer
string
required
Address that will cover for the fee.
feePriority
string
required
Fee priority of the transaction - slow, standard, fast.
slow
standard
fast
note
string
required
Transaction note with additional details.
recipients
object[]
required
Destination of the transaction.
address
string
required
Address of the destination.
amount
string
required
Defines the amount sent to the destination address.
amountUnit
string
required
Defines the unit of the received amount for the address, e.g. ETH, BTC, TRX, BNB.
assetId
string
required
Asset identifier being transferred.
convertedAmountToUSD
string
required
Amount calculated in USD.
senders
object
required
Source of the transaction,
address
string
required
Addresses of the sources
totalTransactionAmountInUsd
string
required
Total amount of the transaction in USD.
transactionRequestId
string
required
Represents a unique identifier of the transaction request (the request sent to make a transaction), which helps in identifying which callback and which `referenceId` concern that specific transaction request.
transactionRequestStatus
string
required
Defines the status of the transaction, e.g. "created".
created
await-approval
pending
prepared
signed
broadcasted
success
failed
rejected
mined
mined-with-errors
await-approval-l2
+1