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

apiKeystringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

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.

Responses

200

Simulated transaction inspection result.

Was this page helpful?