Search…
⌃K
Links

sui_devInspectTransaction

Return dev-inpsect results of the transaction, including both the transaction effects and return values of the transaction.

Parameters

  • tx_bytes : <Base64> -
  • epoch : <uint64> - The epoch to perform the call. Will be set from the system state object if not provided

Returns

DevInspectResults : <DevInspectResults>
  • effects : <[TransactionEffects]> - Summary of effects that likely would be generated if the transaction is actually run. Note however, that not all dev-inspect transactions are actually usable as transactions so it might not be possible actually generate these effects from a normal transaction.
  • results : <[Result_of_Array_of_Tuple_of_uint_and_SuiExecutionResult_or_String]> - Execution results (including return values) from executing the transactions Currently contains only return values from Move calls

Example Request and Result for sui_devInspectTransaction

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_devInspectTransaction",
"params": [
"AAPDdSGd1K6HApnQ1UMmEIOXvtBFDAEFAAAAAAAAADDat41YRxp4SW63HCxud7omjwOQOg6huYDqcvdFeE95OGaVEnTPlWWtjAYAAAAAACBCRYDRhl1WPPDl5P0n7fK6uWgf/Leb4oRS1KAESZ/KmwEAAAAAAAAAAQAAAAAAAAA="
]
}'