IdempotencyRecord
このコンテンツはまだ日本語訳がありません。
Defined in: src/idempotency/record.ts:43
A completed reasoning-step settlement, keyed by the idempotency key. Retained
until expiresAt (anchored to the authorization validBefore, never beyond).
Properties
amount
readonlyamount:string
Defined in: src/idempotency/record.ts:52
Settled amount, decimal string (uint256-safe).
expiresAt
readonlyexpiresAt:bigint
Defined in: src/idempotency/record.ts:58
Unix-seconds expiry. The record MUST NOT outlive the authorization validBefore.
kawasekitVersion
readonlykawasekitVersion:"1"
Defined in: src/idempotency/record.ts:44
key
readonlykey:string
Defined in: src/idempotency/record.ts:46
The idempotency key this record is stored under.
network
readonlynetwork:"eip155:1"|"eip155:43114"|"eip155:43113"|"eip155:11155111"|"eip155:8217"|"eip155:1001"|"eip155:137"|"eip155:80002"
Defined in: src/idempotency/record.ts:54
x402 network the settlement landed on.
payer
readonlypayer:`0x${string}`
Defined in: src/idempotency/record.ts:50
The payer EOA recovered at settlement.
responseSnapshot?
readonlyoptionalresponseSnapshot?:IdempotencyResponseSnapshot
Defined in: src/idempotency/record.ts:56
Optional captured response for byte-identical replay.
txHash
readonlytxHash:`0x${string}`
Defined in: src/idempotency/record.ts:48
The on-chain settlement tx hash (replayed in the PAYMENT-RESPONSE header).