RAILGUN Reloaded
    Preparing search index...

    Type Alias BuildUnshieldResult

    The proven, unsigned transaction and the RAILGUN TXID of each proven transaction, in call order.

    type BuildUnshieldResult = {
        transaction: UnsignedTx;
        railgunTxids: Uint8Array[];
        nullifiers: Hex[];
        preTransactionPOIsPerTxidLeafPerList?: Record<
            string,
            Record<string, PreTransactionPoi>,
        >;
    }
    Index
    transaction: UnsignedTx

    A transact call for an ERC20 unshield. A type-4 RelayAdapt7702 execute for a base-token unshield.

    railgunTxids: Uint8Array[]

    32-byte RAILGUN TXIDs. Pass each one to submitPoi after the call confirms.

    nullifiers: Hex[]

    32-byte nullifiers of every proven transaction, in call order. A broadcaster client polls the chain with them when no answer arrives.

    preTransactionPOIsPerTxidLeafPerList?: Record<
        string,
        Record<string, PreTransactionPoi>,
    >

    Pre-transaction POIs by list key, then by TXID leaf hash. Set when the broadcaster transport has preTransactionPoi.