CreateBuyListPoliciesParams
Defined in: src/policy/buy-list.ts:38
Parameters for createBuyListPolicies.
Properties
callPolicyVersion?
readonlyoptionalcallPolicyVersion?:CallPolicyVersion
Defined in: src/policy/buy-list.ts:57
ZeroDev callPolicy on-chain version. Defaults to V0_0_4.
jpycAddress
readonlyjpycAddress:`0x${string}`
Defined in: src/policy/buy-list.ts:40
JPYC contract address on the target chain.
maxPerTransfer
readonlymaxPerTransfer:bigint
Defined in: src/policy/buy-list.ts:48
Maximum JPYC (raw units) per single transfer. Must be positive.
merchants
readonlymerchants: readonly`0x${string}`[]
Defined in: src/policy/buy-list.ts:46
The buy-list’s resolved merchant recipient addresses — the allowlist the session key may pay. Required and non-empty (a buy-list always targets specific merchants); checksum-normalized + de-duplicated.
validAfter?
readonlyoptionalvalidAfter?:number
Defined in: src/policy/buy-list.ts:55
Optional schedule-window start (unix seconds); the key is invalid before
this. Defaults to 0 (valid immediately). Must be < validUntil.
validUntil
readonlyvalidUntil:number
Defined in: src/policy/buy-list.ts:50
Schedule-window end (unix seconds); the key is invalid after this. Must be a positive integer.