@heliuslabs/spr - v0.9.0-alpha
    Preparing search index...

    Interface ExternalDataInit

    What a caller must supply, the counterpart of Rust ExternalData::new. The interface transfers, optional hashes, and expiry carry Rust's defaults, so a confidential transfer names only the fields it actually has.

    interface ExternalDataInit {
        instructionDiscriminator?: number;
        expiryUnixTs?: bigint;
        interfaceTransfers?: readonly SettlementTransfer[];
        dataHash?: Bytes32;
        ringDataHash?: Bytes32;
        txViewingPublicKey: X25519PublicKey;
        salt: Bytes16;
        outputs: readonly TransactOutput[];
        resolvedOwnerTags: readonly Bytes32[];
        messages: readonly Readonly<{ viewTag: Bytes32; data: Uint8Array }>[];
    }
    Index
    instructionDiscriminator?: number
    expiryUnixTs?: bigint
    interfaceTransfers?: readonly SettlementTransfer[]
    dataHash?: Bytes32
    ringDataHash?: Bytes32
    txViewingPublicKey: X25519PublicKey
    salt: Bytes16
    outputs: readonly TransactOutput[]
    resolvedOwnerTags: readonly Bytes32[]
    messages: readonly Readonly<{ viewTag: Bytes32; data: Uint8Array }>[]