@hyperledger/fabric-gateway
    Preparing search index...

    Interface Transaction

    Represents an endorsed transaction that can be submitted to the orderer for commit to the ledger.

    interface Transaction {
        getBytes(): Uint8Array;
        getDigest(): Uint8Array;
        getResult(): Uint8Array;
        getTransactionId(): string;
        submit(options?: CallOptions): Promise<SubmittedTransaction>;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Get the serialized bytes of the signable object. Serialized bytes can be used to recreate the object using methods on Gateway.

      Returns Uint8Array

    • Get the digest of the signable object. This is used to generate a digital signature.

      Returns Uint8Array

    • Get the transaction result. This is obtained during the endorsement process when the transaction proposal is run on endorsing peers.

      Returns Uint8Array