sui_devInspectTransactionBlock

Runs a transaction in dev-inspect mode. This allows testing nearly any transaction with any arguments. Detailed results are provided, including execution effects and return values. Note: gas is not charged, but usage is calculated.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
sender_addressstringRequired

The address that initiates the dev inspect transaction.

tx_bytesstringRequired

Base64-encoded BCS transaction kind (excluding gas info).

gas_pricestringRequired

Simulated gas price to be used during dev inspect (gas is not deducted).

epochstringRequired

The epoch context in which to perform the inspection.

Response

Simulated transaction inspection result.

effectsobjectOptional

The simulated effects of the transaction.

eventslist of objectsOptional

Events that would be emitted if the transaction were run.

errorstringOptional

Execution error message, if any.

resultslist of objectsOptional

Return values and execution results for Move calls.