unsafe_batchTransaction
POST
/{apiKey}
Creates a BCS-serialized batched transaction that is not signed. This can be used to execute multiple actions atomically in one transaction block.
Path Parameters
apiKeystringrequireddefaults to docs-demoFor higher throughput, create your own API key
Request
signerstringrequiredThe transaction signer's Sui address.
single_transaction_paramsobject[]requiredA list of individual transaction instructions to include in the batch.
gasstringoptionalThe gas object to be used. If omitted, one will be selected automatically.
gas_budgetstringrequiredThe maximum amount of gas to be used for this transaction.
txn_builder_modeenumoptionalWhether this is a regular or dev-inspect transaction.
Allowed values:
Responses
200
The batched transaction block as BCS-encoded data, plus gas and input metadata.
Was this page helpful?