A representation of the IndexerTransactionWithOutcome from near-indexer-primitives which is an ephemeral structure combining SignedTransactionView from near-primitives and IndexerExecutionOutcomeWithOptionalReceipt from near-indexer-primitives.

This structure is very similar to Receipt. Unlike Receipt, a Transaction has a few additional fields like signerId, signature, and operations.

Constructors

  • Parameters

    • transactionHash: string

      Returns the hash of the Transaction in CryptoHash.

    • signerId: string

      Returns the signer account id of the Transaction.

    • signerPublicKey: string

      Returns the PublicKey of the signer of the Transaction.

    • signature: string

      Returns the Signature the Transaction was signed with.

    • receiverId: string

      Returns the receiver account id of the Transaction.

    • status: ExecutionStatus

      Returns the status of the Transaction as ExecutionStatus.

    • executionOutcomeId: string

      Returns the id of the ExecutionOutcome for the Transaction.

    • operations: Operation[]

      Returns an Array of Operation for the Transaction.

    Returns Transaction

Properties

executionOutcomeId: string

Returns the id of the ExecutionOutcome for the Transaction.

operations: Operation[]

Returns an Array of Operation for the Transaction.

receiverId: string

Returns the receiver account id of the Transaction.

signature: string

Returns the Signature the Transaction was signed with.

signerId: string

Returns the signer account id of the Transaction.

signerPublicKey: string

Returns the PublicKey of the signer of the Transaction.

Returns the status of the Transaction as ExecutionStatus.

transactionHash: string

Returns the hash of the Transaction in CryptoHash.

Generated using TypeDoc