Skip to main content

executeTransaction

Execute a transaction, committing its effects on chain.

  • transactionDataBcs contains the BCS-encoded transaction data (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).

There may be a delay between transaction finality and when GraphQL requests (including the request that issued the transaction) reflect its effects. As a result, queries that depend on indexing the state of the chain (e.g. contents of output objects, address-level balance information at the time of the transaction), must wait for indexing to catch up by polling for the transaction digest using Query.transaction.

executeTransaction(
transactionDataBcs: Base64!
signatures: [Base64!]!
): ExecutionResult!

Arguments

executeTransaction.transactionDataBcs ● Base64! non-null scalar

executeTransaction.signatures ● [Base64!]! non-null scalar

Type

ExecutionResult object

The execution result of a transaction, including the transaction effects and any potential errors due to signing or quorum-driving.