external
dry-run

Dry-run transactions on top of a given block. Supports all TXs except GAMetaTx, PayingForTx and OffchainTx. Gas defaults to 1000000 when not set on a call request; total gas per request is capped by a node-configured limit. FATE contract-storage reads are metered at a size-proportional gas cost, so reported gas is an estimate of the on-chain cost, not an exact figure. Reported gas is never below what the same call costs on chain at the currently activated protocol, because each repriced storage register read is floored at that charge.

Request

  • Base URL
    /v2 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /v2/dry-run
  • Auth
    none declared

Request body

topstring

Base58Check encoded tagged hash

tx_eventsboolean

Collect and return on-chain tx events that would result from the call

Response

Dry-run result

tx_eventsTxEvent[]

on-chain tx events

Changes