Skip to content

Variable: MEMO_KEY ​

ts
const MEMO_KEY: "x402.memo" = "x402.memo";

Defined in: packages/x402-core/src/verify/prepared-tx.ts:244

The metadata key the scheme reserves for the merchant's memo (Rule 12).

Exported because the payer that WRITES it and the verifier that READS it have to name the same key, and two spellings of a string agree only by luck. The fixtures keep the literal on purpose: something has to pin the wire value, and a test written in terms of this constant would follow it wherever it went.