Skip to main content

executeTransactionBlock

Execute a transaction, committing its effects on chain.

  • txBytes is a TransactionData struct that has been BCS-encoded and then Base64-encoded.
  • signatures are a list of flag || signature || pubkey bytes, Base64-encoded.

Waits until the transaction has reached finality on chain to return its transaction digest, or returns the error that prevented finality if that was not possible. A transaction is final when its effects are guaranteed on chain (it cannot be revoked).

Transaction effects are now available immediately after execution through Query.transactionBlock. However, other queries that depend on the chain’s indexed state (e.g., address-level balance updates) may still lag until the transaction has been checkpointed. To confirm that a transaction has been included in a checkpoint, query Query.transactionBlock and check whether the effects.checkpoint field is set (or null if not yet checkpointed).

executeTransactionBlock(
txBytes: String!
signatures: [String!]!
): ExecutionResult!

Arguments

executeTransactionBlock.txBytes ● String! non-null scalar

executeTransactionBlock.signatures ● [String!]! non-null scalar

Type

ExecutionResult object

The result of an execution, including errors that occurred during said execution.