Home

Execute Transaction Block

POST
https://iota.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Changed. Execution errors now include a machine-readable data.reason field, which tells a rejection by validators apart from a transaction the node proved invalid locally. ObjectsDoubleUsed keeps its existing data payload with the conflicting transactions. When the node is overloaded, the error carries data.retry_after_secs with the suggested delay before retrying. A transaction that names an object version in or right below the range reserved for canceled transactions is rejected at submission with InvalidSequenceNumber; before, it failed later with ObjectNotFound.

Submits a signed transaction block and returns its execution result.

Move abort messages (clever errors) now include the error code of the abort when the abort constant declares one; command ordinals are written correctly (11th, 12th, 13th instead of 11st, 12nd, 13rd).

A transaction whose sender or sponsor is authenticated by a Move authenticator with an immutable account object is rejected.

Body

application/json

JSON-RPC request for iota_executeTransactionBlock.

Structured JSON-RPC request information.

jsonrpcstring2.0required

JSON-RPC protocol version.

idintegerrequired

Client-defined identifier used to match the response to the request.

methodstringiota_executeTransactionBlockrequired

IOTA JSON-RPC method name.

paramsArray<any>required

Ordered positional parameters supplied to the method.

Response

200OK

Successful JSON-RPC response returned by the node.