@hiero-ledger/sdk
    Preparing search index...

    Class TransactionResponse

    When the client sends the node a transaction of any kind, the node replies with this, which simply says that the transaction passed the pre-check (so the node will submit it to the network) or it failed (so it won't). To learn the consensus result, the client should later obtain a receipt (free), or can buy a more detailed record (not free).
    See Hedera Documentation

    Index

    Properties

    logger: undefined | null | Logger
    nodeId: AccountId
    transaction: undefined | Transaction
    transactionHash: Uint8Array<ArrayBufferLike>
    transactionId: TransactionId

    Methods

    • Create a receipt query for this transaction.

      By default, the query is pinned to the submitting node only. If the client has allowReceiptNodeFailover enabled, the query can fail over to other nodes while still starting with the submitting node first.

      When failover is enabled, the node list is determined by:

      1. Transaction's configured nodes (if transaction had specific nodes set), or
      2. Client's network nodes (as fallback)

      Parameters

      • Optionalclient: Client<any, any>

        Optional client to enable failover behavior

      Returns TransactionReceiptQuery

    • Create a record query for this transaction.

      By default, the query is pinned to the submitting node only. If the client has allowReceiptNodeFailover enabled, the query can fail over to other nodes while still starting with the submitting node first.

      When failover is enabled, the node list is determined by:

      1. Transaction's configured nodes (if transaction had specific nodes set), or
      2. Client's network nodes (as fallback)

      Parameters

      • Optionalclient: Client<any, any>

        Optional client to enable failover behavior

      Returns TransactionRecordQuery