Skip to content
Alchemy Logo

sui_devInspectTransactionBlock

POST
/{apiKey}

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

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringrequired

The address that initiates the dev inspect transaction.

stringrequired

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

stringrequired

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

stringrequired

The epoch context in which to perform the inspection.

Responses

200

Simulated transaction inspection result.

Was this page helpful?