Skip to content
Alchemy Logo

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

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringrequired

The transaction signer's Sui address.

object[]required

A list of individual transaction instructions to include in the batch.

stringoptional

The gas object to be used. If omitted, one will be selected automatically.

stringrequired

The maximum amount of gas to be used for this transaction.

enumoptional

Whether 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?