Type Alias ReceiveOptions
ReceiveOptions: { counter?: number; keysetId?: string; outputAmounts?: OutputAmounts; outputData?: OutputDataLike[] | OutputDataFactory; p2pk?: { locktime?: number; pubkey: string; refundKeys?: string[] }; privkey?: string; proofsWeHave?: Proof[]; pubkey?: string; requireDleq?: boolean;} Type declaration
Optional
counter?: number
Optional
keysetId?: string
Optional
outputData?: OutputDataLike[] | OutputDataFactory
Optional
p2pk?: { locktime?: number; pubkey: string; refundKeys?: string[] }
Optional
privkey?: string
Optional
proofsWeHave?: Proof[]
Optional
pubkey?: string
Optional
requireDleq?: boolean
Param: options
Optional configuration for token processing:
keysetId
: Override the default keyset ID with a custom one fetched from the/keysets
endpoint.outputAmounts
: Specify output amounts for keeping or sending.proofsWeHave
: Provide stored proofs for optimal output derivation.counter
: Set a counter to deterministically derive secrets (requires CashuWallet initialized with a seed phrase).pubkey
: Lock eCash to a public key (non-deterministic, even with a counter set).privkey
: Create a signature for token secrets.requireDleq
: Verify DLEQ proofs for all provided proofs; reject the token if any proof fails verification.