Skip to main content
QUERY
transactionByHash(hash: String!): Transaction

Arguments

hash
String!
required

Transaction hash: 64 hex characters. For a fee-bump transaction, the outer (fee-bump) hash. Any other format returns an INVALID_TRANSACTION_HASH error.

Returns

Transaction
hash
String!

Transaction hash, 64 hex characters. For a fee-bump transaction, the outer (fee-bump) hash.

feeCharged
Int64!

Fee charged for the transaction, in stroops.

resultCode
String!

Transaction result code, as the XDR TransactionResultCode name (for example TransactionResultCodeTxSuccess).

ledgerNumber
UInt32!

Sequence number of the ledger that included this transaction.

ledgerCreatedAt
Time!

Close time of the ledger that included this transaction.

isFeeBump
Boolean!

Whether this transaction is a fee-bump transaction.

ingestedAt
Time!

When the indexer persisted this transaction.

operations
OperationConnection!

Operations contained in this transaction, in application order.

Arguments
first
Int

Return up to this many edges from the start of the list, or after after. Default 50 when neither first nor last is set. Maximum 100. Cannot be combined with last or before.

after
String

Cursor from a previous page. Returns the edges after it. Requires first; ignored without it.

last
Int

Return up to this many edges from the end of the list, or before before. Maximum 100. Cannot be combined with first or after.

before
String

Cursor from a previous page. Returns the edges before it. Requires last; ignored without it.

accounts
[Account!]!

Accounts and contracts that participated in this transaction. Each one has this transaction in its transactions history.

stateChanges
StateChangeConnection!

State changes produced by this transaction, in ledger order.

Arguments
first
Int

Return up to this many edges from the start of the list, or after after. Default 50 when neither first nor last is set. Maximum 100. Cannot be combined with last or before.

after
String

Cursor from a previous page. Returns the edges after it. Requires first; ignored without it.

last
Int

Return up to this many edges from the end of the list, or before before. Maximum 100. Cannot be combined with first or after.

before
String

Cursor from a previous page. Returns the edges before it. Requires last; ignored without it.

Query
Variables
Response