supra-ts-sdk - v2.0.0
    Preparing search index...

    Interface TransactionInclusionProofBeta

    A proof that a transaction is included in the node's transaction accumulator, computed against the latest transactions inclusion certificate the node holds. Sent by the /rpc/v4 transaction routes when the request asks for it.

    Preview: wraps an API added in supra_node_v12.0.0, which may change until that release reaches Testnet.

    interface TransactionInclusionProof {
        proof: { siblings: string[] };
        leaf_hash_value: string;
        merkle_root_hash_value: string;
        leaf_index: number;
        events_tree_merkle_root_hash_value?: string | null;
        events_leaves_hash_values?: string[] | null;
        certified_at_height: number;
    }
    Index
    proof: { siblings: string[] }

    The accumulator proof. siblings are ordered from the bottom level to the root.

    leaf_hash_value: string

    The hash of the leaf node, hex encoded.

    merkle_root_hash_value: string

    The Merkle root the proof verifies against, hex encoded.

    leaf_index: number

    The leaf index in the accumulator tree.

    events_tree_merkle_root_hash_value?: string | null

    The root of the events tree, when available.

    events_leaves_hash_values?: string[] | null

    The hashes of the events tree leaves, when available.

    certified_at_height: number

    The height of the certificate that holds merkle_root_hash_value.