コンテンツにスキップ

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

readonly amount: string

Defined in: src/idempotency/record.ts:52

Settled amount, decimal string (uint256-safe).


expiresAt

readonly expiresAt: bigint

Defined in: src/idempotency/record.ts:58

Unix-seconds expiry. The record MUST NOT outlive the authorization validBefore.


kawasekitVersion

readonly kawasekitVersion: "1"

Defined in: src/idempotency/record.ts:44


key

readonly key: string

Defined in: src/idempotency/record.ts:46

The idempotency key this record is stored under.


network

readonly network: "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

readonly payer: `0x${string}`

Defined in: src/idempotency/record.ts:50

The payer EOA recovered at settlement.


responseSnapshot?

readonly optional responseSnapshot?: IdempotencyResponseSnapshot

Defined in: src/idempotency/record.ts:56

Optional captured response for byte-identical replay.


txHash

readonly txHash: `0x${string}`

Defined in: src/idempotency/record.ts:48

The on-chain settlement tx hash (replayed in the PAYMENT-RESPONSE header).