Parameters
chainId
string
default:"sui"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"sui_dryRunTransactionBlock"
required
JSON-RPC method name.
Base64-encoded BCS transaction block data.Positional parameters for sui_dryRunTransactionBlock:params[]: BCS-encoded transaction block (TransactionKind).
Returns
Simulated transaction block execution result, including effects, events, and gas usage.
List of balance changes that would occur.
Simulated effects of the transaction.
Input transaction block data and metadata.
Object-level changes such as transfers or creations.
Gas price recommended based on dry run.
Digest of the dry run transaction.
BCS encoded base64 transaction bytes.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=sui \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "sui_dryRunTransactionBlock",
"params": [
"AAACACB7qR3cfnF89wjJNwYPBASHNuwz+xdG2Zml5YzVxnftgAEAT4LxyFh7mNZMAL..."
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}