Links

sui_dryRunTransaction

Return transaction execution effects including the gas cost summary, while the effects are not committed to the chain.
The sui_dryRunTransaction is used to return the effects of a transaction's execution, such as gas cost summary, without committing the changes.

Parameters

tx_bytes : <Base64> -

Returns

SuiTransactionEffects : <TransactionEffects>

Example Request and Result for sui_dryRunTransaction

Request
curl
--location --request POST 'https://sui-devnet.blastapi.io/<project_id>' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"id": 1,
"method": "sui_dryRunTransaction",
"params": [
"AAPDdSGd1K6HApnQ1UMmEIOXvtBFDAEFAAAAAAAAADDat41YRxp4SW63HCxud7omjwOQOg6huYDqcvdFeE95OGaVEnTPlWWtjAYAAAAAACBCRYDRhl1WPPDl5P0n7fK6uWgf/Leb4oRS1KAESZ/KmwEAAAAAAAAAAQAAAAAAAAA="
]
}'