executeTransaction
Execute a transaction, committing its effects on chain.
transaction
contains the transaction data in the desired format.signatures
are a list offlag || 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(
transaction: TransactionExecutionInput!
signatures: [String!]!
): String!
Arguments
executeTransaction.transaction
● TransactionExecutionInput!
non-null input
executeTransaction.signatures
● [String!]!
non-null scalar
Type
String
scalar
The String
scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.