sui_dryRunTransactionBlock
Write API Return transaction execution effects including the gas cost summary, while the effects are not committed to the chain.
Write API Return transaction execution effects including the gas cost summary, while the effects are not committed to the chain.
Parameters
tx_bytes
: <Base64>
-
Returns
DryRunTransactionBlockResponse
: <DryRunTransactionBlockResponse>
- balanceChanges :
<[BalanceChange]>
- effects :
<TransactionBlockEffects>
- events :
<[Event]>
- input :
<TransactionBlockData>
- objectChanges :
<[ObjectChange]>
Example Request and Result for sui_dryRunTransactionBlock
Request
curl
--location --request POST 'https://sui-testnet.blastapi.io/<project-id' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"id": 1,
"method": "sui_dryRunTransactionBlock",
"params": [
"AAPDdSGd1K6HApnQ1UMmEIOXvtBFDAEFAAAAAAAAADDat41YRxp4SW63HCxud7omjwOQOg6huYDqcvdFeE95OGaVEnTPlWWtjAYAAAAAACBCRYDRhl1WPPDl5P0n7fK6uWgf/Leb4oRS1KAESZ/KmwEAAAAAAAAAAQAAAAAAAAA="
]
}'