RAILGUN Reloaded
    Preparing search index...

    Type Alias ShieldReceiptResult

    Shield details decoded from the first Shield event of a transaction receipt.

    type ShieldReceiptResult = {
        txHash: Hash;
        receipt: TransactionReceipt;
        treeNumber: bigint;
        startPosition: bigint;
        commitment: ShieldCommitmentPreimage;
        shieldedAmount: bigint;
        fee: bigint;
    }
    Index
    txHash: Hash

    Hash of the shield transaction.

    Confirmed receipt of the shield transaction.

    treeNumber: bigint

    Merkle tree that holds the new commitments.

    startPosition: bigint

    Leaf index of the first commitment of the event in that tree.

    Preimage of the first commitment of the event.

    shieldedAmount: bigint

    Note value of the first commitment, in token base units. Equal to commitment.value.

    fee: bigint

    Treasury fee of the first commitment, in token base units. Zero when the event has no fee.