unsafe_batchTransaction

Creates a BCS-serialized batched transaction that is not signed. This can be used to execute multiple actions atomically in one transaction block.

⚠ This endpoint is only available with Blast access.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
signerstringRequired
The transaction signer's Sui address.
single_transaction_paramslist of objectsRequired
A list of individual transaction instructions to include in the batch.
gas_budgetstringRequired
The maximum amount of gas to be used for this transaction.
gasstringOptional
The gas object to be used. If omitted, one will be selected automatically.
txn_builder_modeenumOptional

Whether this is a regular or dev-inspect transaction.

Allowed values:

Response

The batched transaction block as BCS-encoded data, plus gas and input metadata.

txBytesstring or null

BCS serialized transaction data bytes (base64-encoded, without type tag).

gaslist of objects or null
Gas objects used in the transaction.
inputObjectslist of objects or null
All input objects used in this transaction.