Skip to content
Integra Protocol

Vector files

Every vector file @integraledger/lcp ships, and what it fixes.

For AI agents: this page as Markdown, and llms.txt, the index of every page.

This page is generated from the package by node scripts/docs-reference.mjs, and CI checks that it matches.

The package ships 81 vector files in vectors/. Each file's about states what it covers and where its expected values come from; it is quoted here as it is. The Vectors page explains how to run them.

FileAbout
a2a-legal-context.jsonVectors for the a2a entry point of @integraledger/lcp, the LCP A2A extension. Every expected value is fixed by the extension and its URI list, with H and L as in ack-payment-request.json. A value {"$repeat": [s, n]} in args stands for the string s repeated n times.
ack-payment-request.jsonVectors for the ack/payment-request pairing: the ack entry point of @integraledger/lcp. Every expected value is fixed by the pairing, with H, L and the JWS conventions of card.json: H = SHA-256("abc") (FIPS 180-2), L = https://atr.seller.example/7c8acfa2-f800-4192-89e9-1cef9833180f, a path from a random token, not from H, and each token base64url(JSON(header)).base64url(JSON(payload)).base64url(r||s), JSON compact with members in the order written. T and the plant's token were built from that recipe with GNU coreutils basenc; their ES256 signatures verify over those signing inputs (cryptography 41.0.7). read verifies no signature. A token whose third segment is c2ln carries no signature at all. A token segment with a pad bit set is T's with its last character's lowest pad bit raised, the same bytes in a form that is not canonical (RFC 4648 section 3.5), built with Python 3's base64: read takes RFC 7515 section 2's base64url in its canonical form only.
acp-checkout.jsonVectors for the acp/checkout/delegated and acp/checkout/undelegated pairings: the acp entry point of @integraledger/lcp. Every expected value is fixed by the pairing. A is a 287-byte ATR, H = SHA-256(A) (GNU coreutils sha256sum and openssl dgst -sha256 agree), L = https://atr.seller.example/7ff24b70-83ec-430a-ad3e-3ae487a62050, a path from a random token, not from H, S0 a checkout session, and otherH ucp.json's H. A value {"$repeat": [s, n]} in args stands for the string s repeated n times.
ap2-checkout-mandate-x402.jsonVectors for ap2/checkout-mandate/x402. The checkout mandate and checkout JWT are ap2-checkout-mandate.json's built M and J, whose bound H is that file's fixed H; M's checkout_hash is the SHA-256 of J, base64url (fixed.checkoutHash). The x402 credential is AP2's bundle as its reference credential provider writes it (google-agentic-commerce/AP2 e1ea56d, code/samples/python/src/roles/x402_credentials_provider_mcp/server.py:162-163 and :205-219): the authorization's nonce is keccak-256 of the payment mandate chain's UTF-8 text, here computed by js-sha3 0.13.0's keccak256, the check AP2's payment processor makes (x402_psp_mcp/server.py:147-157). The payment mandate chain is AP2's published open Payment Mandate (the open hop of docs/ap2/payment_mandate.md line 534 at e1ea56d, whose SHA-256 is fixed.publishedSha256) chained with a closed Payment Mandate written as AP2's SDK writes it, by node:crypto and the JSON text of Python's json.dumps: a kb+sd-jwt whose delegate_payload references one disclosure of mandate.payment.1, its transaction_id the checkout's hash (AP2 specification.md:154-155; payment_mandate.json's transaction_id; shopping_agent_v2/shopping_agent/mandate_tools.py:809-814), its nonce the payment nonce, its sd_hash the open hop's digest as AP2's published closed hop has it. fixed.published is AP2's published chain whole: its transaction_id is the hash of AP2's published checkout, another checkout than this one. The signatures are placeholders, since nothing here verifies one. Accounts and amounts are AP2's sample's shapes.
ap2-checkout-mandate.jsonVectors for the ap2/checkout-mandate pairing and the SD-JWT reader it uses (the ap2 entry point of @integraledger/lcp). SHA-256 values were computed with GNU coreutils 9.4 sha256sum and basenc and agree with OpenSSL 3.0.13. The tests build J, D and M from the fixed strings; 'built' holds the same strings as written by Python 3's base64 and hashlib, for other languages. V6's token is AP2's published closed Checkout Mandate, docs/ap2/checkout_mandate.md line 328 at commit e1ea56db of google-agentic-commerce/AP2, pinned by its SHA-256. V7's token is AP2's published chained presentation, line 494 of the same file at the same commit: the open Checkout Mandate's SD-JWT and the closed mandate's, joined by ~~ in the compact serialization of the Delegate SD-JWT draft (GarethCOliver/gco-delegate-sd-jwt at commit e44c0c1). Its last hop is V6's token, and expectSdHash is that hop's sd_hash claim, the digest of the open hop with its trailing ~ restored. The 'implementation' rows fix refusals that neither AP2 nor RFC 9901 names, reader cases from RFC 9901 sections 4 and 7.1, and the chain rows (named chain-*), which follow the draft's compact serialization and the two hops of the checkout chain in AP2's SDK (code/sdk/python/ap2/sdk/checkout_mandate_chain.py at e1ea56db); their tokens were built with Python 3's base64 and hashlib. The rows named *-pad-bit spell one segment or disclosure of J or M with its last character's lowest pad bit set, the same bytes in a form that is not canonical (RFC 4648 section 3.5), built with Python 3's base64 and hashlib: the reader takes RFC 7515 section 2's base64url in its canonical form only.
base64-platform.jsonECMA-262's Uint8Array.fromBase64, recorded on Node v26.11.1, over the texts test/base64.test.ts and test/base64url.test.ts read, so that those tests compare the package's readers with it on a Node that has no Uint8Array.fromBase64 (Node 24). Each set names the texts its test makes and how they are read; texts is how many the test makes, read maps each text the built-in reads to its bytes in hex, and the built-in refuses every other text of the set. On a Node that has the built-in, the tests also hold this file to it.
broadcaster.jsonWho broadcasts what a payer presents under each pairing, as its broadcaster answers: "payer", which sent the payment before presenting it, so the seller reads a landed payment, or "payee", the seller, or the facilitator or processor acting for it, which sends or executes what the payer presented. broadcaster answers only for a payment of a type and kind the pairing takes, within the shape gate its bound applies first, and gives any other payment the refusal bound gives that fault. Where a payment has a second fault that bound finds first, in H or the challenge, the two codes differ. A session's or batch channel's bound reads the opening alone, so for any other action the reader is channel.kind: a payment it refuses for its own content gets its refusal (a batch channel reads the payload alone, under any accepted option), and one a session's channel.kind refuses for what the challenge decides is answered. pairings holds every pairing once, with its answer where every payment it takes has the same one, and null where it answers by the kind of payment; kinds holds answers for credentials of each kind, each copied from the pairing's own vector file's buyer row with only its payload changed, or, where its case says so, under another challenge: on the EVM transaction and hash charges, a challenge carrying only the members a credential needs, or the challenge place places; and on the card and Stripe pairings, the challenge advertise places. refusals holds payments of a type, kind or shape the pairing does not take: bound and broadcaster each refuse one with expectRefusal, except where the row has a bound, which names the code bound gives: a session's or channel's action other than the opening, which bound does not read, and which channel.kind and broadcaster each refuse with expectRefusal. A value {"$repeat": [s, n]} in a row stands for the string s repeated n times. Each pairings and kinds row's source names the specification the answer is read from; the MPP drafts are cited at tempoxyz/mpp-specs 08e7dd87.
buyer.jsonThe buyer gate's rows for the x402/exact/eip155/eip3009 pairing. A is a 138-byte ATR; C is A with byte 124 changed from 0x30 to 0x31; link is where the seller serves A, a path from a random token, not from the hash; D is the V5 document of x402-exact-eip155-eip3009.json advertising hash(A) and link. The payer is the published Anvil key, account eip155:84532:0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, and now is 1790000000. SHA-256 values were computed with GNU coreutils sha256sum and agree with openssl dgst -sha256; B6's digest and signature with viem 2.56.7 and eth-account 0.14.0. Bodies are hex. A row whose input names a stub describes the stub's behaviour. A row named with a pairing (BX1) runs that pairing's read and build; its cases each give their own inputs and expect. The BW rows run the gate's within on a channel of the pairing they name. A row's cases share its input and expect except where a case gives its own; control is the same exchange answered in the identity coding (BE1), with an opaque holding only the LCP members that name the held H (BW1, BW2), or with well-formed refund values (BW3). A BX1 case's refusal is what the protocol package's checks of the placed challenge return; the gate then has no challenge it can pay, and declines no-payable-option. A BW row's hold is what openChannel gives for the ATR atrHex and the opening hold.opening names. BW1's and BW2's challenge is the seller's own within challenge on that channel: the issued request with methodDetails.channelId naming the held channel, JCS-serialized (RFC 8785) and base64url without padding, an id of the seller's, and an opaque whose JSON is opaqueText; BW3's and BW4's is the x402 document doc names, advertising the held H. A row with entry calls that gate function rather than transact: finish with the chosen confirm gives and another pairing's binding (B19), confirm (B20) and agree (BA16) with each case's inputs; BA5's entries are the two it runs through. A BW row's refund and inputs are within's.
card.jsonVectors for the card entry point of @integraledger/lcp: Visa TAP, Mastercard Agent Pay, Visa Intelligent Commerce, Mastercard Verifiable Intent and the plain card checkout. H is SHA-256("abc") from FIPS 180-2 and E is SHA-256 of the empty string. The TAP and Agent Pay signatures are RFC 9421 Ed25519 under RFC 9421's test-key-ed25519, and their nonces the base64 of H or E followed by C2.random. C2 to C9 and T2 to V10 were computed with Node's node:crypto from the profiles, importing no lcp code. The VI strings of vi are built from a recipe (compact JSON, members in the order written) with fixed ES256 signatures, which verify under USER (L2i, L2a) and AGENT (L3b); every digest was checked with Python 3.12.3 hashlib.
charge-reference.jsonVectors for the reference of card/seller-reference, acp/checkout/undelegated and ucp/checkout/unsigned: the seller's own reference for the charge, presented as {charge}, 1 to 255 visible ASCII characters, with the checkout of the option the charge answers where the option names one. The charge reference is the id of Stripe's published PaymentIntent object (https://docs.stripe.com/api/payment_intents/object.md, read 2026-11-17, SHA-256 392c5d46d8260839…, its line 7). The rows apply the profiles' rules (card-seller-reference.md rules 4 and 5; acp-checkout-session-id.md and ucp-checkout-legal-context.md on the reference); written by Python 3 from those rules, not by lcp.
core-vectors.jsonCore vectors for assemble, hash and hashEquals. Expected values were computed 2026-09-25 with sha256sum, openssl dgst -sha256, Python 3 json and Node v24.21.0 JSON.stringify. Content bytes are given as hex so that they are exact. A refusals row gives its input where JSON can hold it. A row whose input sits behind an accessor describes it in its case and expects V1's hash: assemble reads each input once and writes what it read.
decoder-caps.jsonDecoder caps. XRPL: every field of a transaction sits at most 10 levels deep, the limit past which rippled's deserializer refuses a field (rippled 3.4.1, src/libxrpl/protocol/STVar.cpp L104-108: depth > 10): a top-level field is at level 1, each field inside an object or array field one level below it, and an array's member object one level below the array; an end marker that closes its own object or array sits at no level, so an object or array at level 10 holds no field, and an end marker anywhere else is refused at any level, as rippled 3.4.1 refuses it (STObject.cpp L240-244, STArray.cpp L54-58); a row's stray names that marker. Each row's depth is its deepest field's level, a stray end marker counting as a field. The blobs were written by ripple-binary-codec 2.11.0's encode, each by construction: XC1 to XC9 a Payment with only the nesting, XC10 to XC15 a pairing's signed blob with a Memo field added (XC10 and XC11 x402-exact-xrpl.json V2's, XC12 and XC13 its V3's, which mpp-charge-xrpl.json V3 presents, XC14 and XC15 mpp-session-hedera-solana-xrpl.json XS2's), and XC16 and XC17 as their cases say. XC1 to XC9 and XC17 are a Payment holding only its TransactionType, Account rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh and the nesting; each MemoType is the one byte AB. Python 3.12.3's walk of the field headers gives each row's depth, and its hashlib gives each hash, SHA-512Half over 54584E00 and the blob; node:crypto gives XC16's and XC17's, which hashlib gives too. The rows bound nesting only: rippled also holds each object to its field's template, which a Memo inside a Memo does not meet. The cap is checked in one pass over the blob's fields before the codec decodes it, so XC5, the largest blob decodeBlob takes (4096 hex characters), is refused in time linear in its length. msgpack: arrays and maps nest at most 32 levels, the outermost container being level 1, every declared length is at most the bytes left, and the bytes are exactly one value; the scan does not judge a string's bytes, a key or a format, which the Algorand reader reads as each member's type is read; each row is hand-written from the msgpack specification's formats, and Python 3.12.3's strict UTF-8 codec refuses the string of each row whose case says it is not well-formed. ScVal: vectors and maps (a contract instance's storage counting as a map) nest at most 64 levels within one ScVal, the outermost container being level 1; each ScVal is hand-written XDR (RFC 4506). Authorized invocations nest at most 64 levels within one authorization entry, the root invocation being level 1. In an envelope the cap applies to what decodeStellarTx reads, the operation and the payer's authorization entry; every other part (another entry, a delegate, the footprint, another operation, a claim predicate) is not walked and is decoded whatever its depth. The envelopes are x402-exact-stellar.json V2's signed envelope edited with @stellar/stellar-sdk 17.2.1's XDR types: SE1 and SE2 wrap the payer's signature (a vector of one map, 2 levels) in vectors, SE3 and SE4 add a second authorization entry under the source account's credentials, SE5 gives the payer's transfer a chain of sub-invocations, SE6 gives the operation a fourth argument, SE7 adds a second authorization entry under address credentials with delegates (the account key of 32 bytes of 04, a void signature, and x(void) on the contract of 32 bytes of 06 as its invocation) whose delegates nest 66 deep, and SE8 replaces the operation with a create-claimable-balance of 1 stroop of the native asset whose one claimant (the account key of 32 bytes of 05) has a predicate nesting 66 deep, 65 not-predicates around an unconditional one. SE9 to SE75 hold each recursive shape at 64 and 65 levels in each place it can sit, and in each place lcp does not read, at the least level js-xdr 5.0.0's default depth (1,500) refuses where that fits in 8,192 characters, as each row's case says. The places are the payer's signature (replaced), a fourth argument of the operation, the payer's invocations, a second entry as SE3's (its argument or invocations), as SE7's (its one delegate's signature, or its delegates) or under the address credentials of the account key of 32 bytes of 08 with a void signature (its signature or invocations), a footprint of one read-only persistent contract-data key on the contract of 32 bytes of 07, a second operation (x(value) on the contract of 32 bytes of 06, or a create-claimable-balance as SE8's), and SE8's operation. Each map and contract instance storage holds one entry whose key is void, each contract instance's executable is the Stellar asset, and each and-predicate's first operand is unconditional. Past the cap in what is read is refused; every other row reads as V2's envelope reads without its nesting. A row's expect, where it has one, is decodeStellarTx's refusal. 'accept' says whether the caps admit the input.
discovery.jsonThe discovery document (LCP §2): what emit writes and what parse reads or refuses. 'bytes' is UTF-8 text; 'bytesHex' is used where the bytes are not valid UTF-8 text. The parse rows named LCP §2.7 are its four examples, cut from it byte for byte. Expected emitted bytes were written by Python's json.dumps with separators (',', ':') over members in LCP §2.4-§2.5's table order; digests with hashlib.sha256, agreeing with GNU coreutils sha256sum 9.4. The ETag is '"' + the digest's hex + '"'. 'inputRepeat' sets that member of 'input' to 'char' repeated 'count' times. 'padTo' is the bytes '{"terms":"https://seller.example/t.md","x-pad":"' + 'a' repeated + '"}', exactly that many bytes long.
legal-context-return.jsonVectors for the return after an agreement (legal-context-return.md): the Legal-Context header, an RFC 9651 Item whose token is H's LCP string and whose one parameter is rv, the sale's 32-byte return value as a byte sequence; and the member by which an agreement option names the charge options it serves, each <slot>/<i>. H is mpp-challenge.json's; the return value is the bytes 0x00 to 0x1f; the x402 option and the MPP challenge are mpp-challenge.json's C_E and the x402 specification's example option. The card ATR of atrs, its UTF-8 text, is an ATR whose binding slot card holds card.json's three C1 options and one party slot, terms, written as the ATR's form fixes its bytes (atrVersion, id, the binding slot, then each party slot) with Python 3.12.3's json.dumps without spaces; a row naming it reads the option's names against those bytes. Expected values were written from the profile with Python 3.12.3's base64 and json, the MPP opaque as base64url without padding of RFC 8785's form. The read and readRefusals rows follow RFC 9651's parsing algorithm (section 4.2, the Item; 4.2.3.2, parameters, a repeated key overwriting the value before it; 4.2.4 to 4.2.10, the bare items; 4.2.7, a byte sequence read with its padding absent and with bits set past its last byte, which a parser should not refuse), each rv's bytes decoded by Python 3.12.3's base64.b64decode with the padding restored; the bare items given before an overwritten rv are RFC 9651 section 3.3's own examples, and each refused one breaks one step of section 4.2. The check rows hold a header value and the resource server's record of the sale (its H, and its return value where it has one), and what checkLegalContextReturn answers: one return that passes and one for each refusal, the last a Lightning sale's return without its return value; their headers are written as the write rows are.
mpp-challenge.jsonVectors for MPP's challenge pieces in the mpp entry point of @integraledger/lcp, shared by every MPP pairing. H is SHA-256("abc") from FIPS 180-2. C_E and C_T are fixed challenges; their request values are JSON, base64url without padding. Expected values were computed with eth-account 0.14.0, eth-abi 6.0.0, eth-utils 6.0.0 and pyrlp 5.0.0 on Python 3.12.3, viem 2.57.4, mppx 0.15.0 (the challenge hash) and GNU coreutils 9.4. MV9's field values are MPP's own example (draft-httpauth-payment-01 at 08e7dd87, lines 1427-1430).
mpp-charge-card.jsonVectors for mpp/charge/card. H is SHA-256("abc"); fixed.MV1 is the MPP challenge id derived from H. The request is the M1 request, its JSON written in the order given here and encoded as base64url without padding. The issued digest is SHA-256 of the sorted JSON (printf of the sorted JSON piped to sha256sum). The proves text is the pairing's record, opening with the agreement transaction's sentence.
mpp-charge-evm-authorization.jsonVectors for mpp/charge/evm/authorization. Expected values were computed with eth-account 0.14.0, eth-abi 6.0.0, eth-utils 6.0.0 and pyrlp 5.0.0 on Python 3.12.3, viem 2.57.4, mppx 0.15.0 (the challenge hash) and GNU coreutils 9.4. Where a value is truncated, the row holds its prefix and suffix. The payer key is the published Anvil development key #0; the Permit2 spender is Anvil account 1. C_E and C_T are mpp-challenge.json's fixed challenges.
mpp-charge-evm-hash.jsonVectors for mpp/charge/evm/hash. Expected values were computed with eth-account 0.14.0, eth-abi 6.0.0, eth-utils 6.0.0 and pyrlp 5.0.0 on Python 3.12.3, viem 2.57.4 and GNU coreutils 9.4. Where a value is truncated, the row holds its prefix and suffix. The payer key is the published Anvil development key #0; the Permit2 spender is Anvil account 1. C_E and C_T are mpp-challenge.json's fixed challenges. Under the profile read-status, MV12's rows that were failed (another sender, another emitter, a revert, the guard) are pending search-incomplete (rule 23: a read with no means to read the single-use value never answers failed), and a lookup that finds no receipt is unreadable history-gap (rule 18).
mpp-charge-evm-permit2.jsonVectors for mpp/charge/evm/permit2, single and batch. Expected values were computed with eth-account 0.14.0, eth-abi 6.0.0, eth-utils 6.0.0 and pyrlp 5.0.0 on Python 3.12.3, viem 2.57.4, mppx 0.15.0 (the challenge hash) and GNU coreutils 9.4. Where a value is truncated, the row holds its prefix and suffix. The payer key is the published Anvil development key #0; the Permit2 spender is Anvil account 1. C_E and C_T are mpp-challenge.json's fixed challenges. Under the profile read-status, MV6b's splitOnlyReceipt, failed before, is pending search-incomplete: at coverage full no failed is answered until the search for H is read whole (rule 24).
mpp-charge-evm-transaction.jsonVectors for mpp/charge/evm/transaction. Expected values were computed with eth-account 0.14.0, eth-abi 6.0.0, eth-utils 6.0.0 and pyrlp 5.0.0 on Python 3.12.3, viem 2.57.4 and GNU coreutils 9.4. Where a value is truncated, the row holds its prefix and suffix. The payer key is the published Anvil development key #0; the Permit2 spender is Anvil account 1. C_E and C_T are mpp-challenge.json's fixed challenges.
mpp-charge-lightning.jsonVectors for the mpp/charge/lightning pairing: the lightning entry point of @integraledger/lcp. H is SHA-256("abc") from FIPS 180-2. L2 has p = x402's payment hash, s, h = H, x = 300 and features 8 and 14; it was made by an encoder that reproduced BOLT11's published h example byte for byte (@scure/base, @noble/curves and @noble/hashes 2.4.0) and decoded by light-bolt11-decoder 3.2.0 and bolt11 1.4.1. A challenge's request is given decoded; it is sent as base64url (no padding) of its JCS form. The issued digest is GNU coreutils sha256sum over the sorted JSON without the invoice; Python's json.dumps(sort_keys=True, separators=(",",":")) agrees.
mpp-charge-nearintents.jsonVectors for mpp/charge/nearintents (mpp-charge-nearintents.md), on MPP's own example request (draft-nearintents-charge-01, blob 6a389faa6b, lines 329-353; again at 821-843) without its externalId. Every expected value is computed from the profile with Python 3.12.3's json, base64 and hashlib, never with lcp: RFC 8785 as json.dumps(sort_keys=True, separators=(',',':')) over these values, which hold ASCII keys and no fractions; base64url without padding; SHA-256. The second quote's members, the changed fixed members and every hash in reference but the draft's example deposit hash (line 870) are constructed, not recorded: the bip122 and stellar hashes are SHA-256 of a label, and the near and solana hashes are base58 (Bitcoin's alphabet, written in Python over int.from_bytes) of SHA-256 and SHA-512 of a label. The spelling rules reference applies are the draft's (Replay Protection, lines 663-670).
mpp-charge-solana.jsonVectors for mpp/charge/solana and, in unsponsored and the rows that name it, mpp/charge/solana/unsponsored. Fixtures are seeds 01 and 02, devnet USDC, x402's payTo and blockhash, and x402-exact-solana.json's V2 and V3 wires. The placed request is computed with Python 3 json.dumps(sort_keys=True, separators=(',',':')) and base64url without padding. Exactly one memo whose data parses as an LCP string, spelled as L and equal to the carrier; other memos are not read. Each reference names the payee of the challenge the payment answers, its request's recipient.
mpp-charge-stripe.jsonVectors for mpp/charge/stripe, on MPP's own example request (draft-stripe-charge-00). Stripe metadata allows up to 50 keys, key names up to 40 characters and values up to 500; the legal_context key has no square brackets. The refusal rows apply those bounds.
mpp-charge-tempo-memo.jsonVectors for the tempo entry point's memo pieces, attributionMemo, checkAttribution and memoCalldata (MV7), and the calls that pay a Tempo charge request with splits (splits); the id mpp/charge/tempo/memo is retired. Expected values were computed with eth-account 0.14.0, eth-abi 6.0.0, eth-utils 6.0.0 and pyrlp 5.0.0 on Python 3.12.3, viem 2.57.4 and GNU coreutils 9.4. Where a value is truncated, the row holds its prefix and suffix. The payer key is the published Anvil development key #0; the Permit2 spender is Anvil account 1. C_E and C_T are mpp-challenge.json's fixed challenges.
mpp-charge-tempo-split-memo.jsonVectors for mpp/charge/tempo/split-memo and mpp/charge/tempo/split-memo/push (profile mpp-charge-tempo-split-memo.md). Oracle: stock mppx 0.17.6's Tempo charge client (mppx/client tempo.charge) paying each placed challenge with the published Anvil development key #0, at the fixed clock now with viem's random validAfter bytes fixed at 0x11, through a transport that answers chain id, fees and gas and, on push, takes the sent transaction (test/eip155-tempo-mpp-split-oracle.ts, which rebuilds this file whole); authorization is the Authorization header value the client returned, its credential the base64url JSON after "Payment "; viem is viem 2.57.4's Tempo reader of the signed bytes, which names the split call carrying H. placed is the profile's rule 1 applied by that module, not by lcp: the split {recipient, amount: "1", memo: H} appended in RFC 8785 form. H is SHA-256 of "abc" (FIPS 180-2 B.1). challenges are pairingsOf's answers the profile's rules 2 to 4 state.
mpp-charge-usdc-evm.jsonVectors for mpp/charge/usdc/evm. Expected values were computed with canonicalize 5.1.0, viem 2.57.4 and js-sha3 on Node, and json.dumps(sort_keys=True, separators=(',',':')) with eth-utils keccak on Python 3.12.3. A.1 is the usdc draft's example (draft-usdc-charge-00, blob ec7fc1868b, lines 1035-1090), whose request parameter is copied verbatim. Truncated values hold their prefix and suffix. The payer key is the published Anvil development key #0.
mpp-charge-usdc-gateway.jsonVectors for mpp/charge/usdc/gateway. Expected values were computed with canonicalize 5.1.0 and viem keccak256, canonicalize and js-sha3, and Python json.dumps with eth-utils keccak, which agreed. The TransferSpec runs from Arc Testnet (domain 26) to Base Sepolia (domain 6), the testnet wallet and minter of gateway-api-testnet.circle.com /v1/info, each address left-padded to 32 bytes. The payer key is the published Anvil development key #0; the signature is made at test time and is not verified by bound. The ceiling section's oracles: Circle's Gateway API reference for GET /v1/info (developers.circle.com/api-reference/gateway/all/get-gateway-info, read 2026-11-17), which serves burnIntentExpirationHeight per network as a decimal string, the current minimum accepted burn intent expiration height; Circle's Gateway technical guide (developers.circle.com/gateway/references/technical-guide, read 2026-11-17), under which Gateway takes a transfer request only while its maxBlockHeight is at least the wallet's withdrawalDelay above the source chain's current block; and Circle's own client, @circle-fin/x402-batching 4.0.0 (this workspace's pinned devDependency), whose GatewayClient reads withdrawalDelay as the Gateway Wallet's uint256 view withdrawalDelay() (dist/client/index.mjs:763-769, :1642-1647) and whose createBurnIntent (dist/client/index.mjs:1472-1495) signs maxBlockHeight 2^256 - 1, run at test time on Arc Testnet to Base Sepolia with the payer key above, which gives M5's spec but for its random salt. Each expectMaxBlockHeight is burnIntentExpirationHeight + ceil(withdrawalDelay x 100 / 604800), computed with Python 3.12.3 integer arithmetic, h + -(-d * 100 // 604800), refused where it exceeds 2^256 - 1. The heights and delays are chosen to exercise the arithmetic and were not read from a network.
mpp-charge-usdc-solana.jsonVectors for mpp/charge/usdc/solana: the Solana charge with method usdc, its details read from methodDetails.solana, whose network is required (draft-usdc-charge-00, Solana profile). The request, the wire and the expected reference are mpp-charge-solana.json's, so the expected values are that file's. The usdc profile rule is the draft's: methodDetails.type names exactly one profile details object. Each reference names the payee of the challenge the payment answers, its request's recipient. patternAs names the pairing whose record this one's is, and profile the one profile it names apart, profiles/mpp-charge-usdc-solana.md.
mpp-charge-usdc-stacks.jsonVectors for mpp/charge/usdc/stacks. R_S is the usdc draft's A.3 request (draft-usdc-charge-00, blob ec7fc1868b) without description, externalId, feePayer and feePayerAddress. The transaction is built at test time with @stacks/transactions 7.6.0 from these inputs, signed by the private key whose scalar is 1 (compressed); its length, bytes and txid were computed with stacks.js txid(), noble sha512_256, Python hashlib and OpenSSL, which agreed. The reference names the origin, the nonce, the payee and signed, the digest of what the origin signed, which @stacks/transactions 7.6.0 computes as sigHashPreSign(signBegin(), Standard, fee, nonce); M4s holds M4's transfer under a sponsored authorization, sponsored by keys 2 and 3 with the sponsor nonces and fees it names, and the same transfer signed again with a fee of 2000, each built and digested with that library. M4's wireHex is that transaction's bytes, whose SHA-512/256 is the txid, for buyer-side tests without the SDK. A credential's transaction is read as a Stacks node (stacks-core 4.0.5) decodes it; agreedRefusals gives the refusals that reading answers. M4b's rows are constructed ledgers of the Stacks Blockchain API (stacks-blockchain-api 9.9.0's routes) that test/stacks-ledger.ts answers from, none recorded from a live endpoint: L is M4's transfer mined at block 9021832, the tip at 9021900, and a block at or below finalThrough at Bitcoin finality; each row's expected answer was derived by hand from read-status.md and mpp-charge-usdc-stacks.md, the query being the act payment at the finality bitcoin where the row names none. Integers are decimal strings, read as bigints. recover reads a failed transaction's mark as status does: stacks/not-success at Bitcoin finality, stacks/not-final below it or where the tip read rejects.
mpp-charge-xrpl.jsonVectors for mpp/charge/xrpl. Fixtures are payer r3sN…6dTC, destination rpjf…EyN, and x402-exact-xrpl.json's V2 x402 blob, V3 MPP blob and the plant's memo blob. The placed request is computed with Python 3 json and base64url. Each reference names the payee of the challenge the payment answers, its request's recipient.
mpp-method-lcp-hedera.jsonVectors for mpp/charge/lcp/hedera (profile mpp/method/lcp, rules 12 to 21). H is SHA-256("abc") from FIPS 180-2. Every body and signed transaction was built and frozen with hiero-sdk-python 0.2.10's TransferTransaction (protobuf 7.36.2, Python 3.12.3) and signed with its Ed25519 key from the seed below, by tools/hedera_bytes.py run outside the workspace on 2026-11-17 (python -I hedera_bytes.py, in a virtual environment holding hiero-sdk-python==0.2.10); a scheduled id through the SDK's TransactionId, a nonce through the SDK's own TransactionBody protobuf, a list through its TransactionList protobuf. Nothing comes from lcp's builder. build rows hold the body the SDK froze and the transaction the SDK signed for the same inputs. Each refusal row is a good transaction with one member changed, built the same way, and the function and code expected; the rows whose bytes no SDK writes (over the size bound, not a protobuf message) say so. landed rows hold the Mirror Node's recorded testnet answer of GET /api/v1/transactions/0.0.3229-1791145265-469000038 (2026-10-04), whose memo is the mirror monitor's text, and that entry with one stated edit, its memo_base64 H's LCP string. now is the clock reading validate is given, in Unix seconds.
mpp-method-lcp.jsonVectors for the lcp MPP method's challenge, filter, credential and receipt (profile mpp/method/lcp, rules 2 to 5 and 10). H is SHA-256("abc") from FIPS 180-2. Each challenge was written and parsed by mppx 0.17.6's Challenge.from, serialize and deserialize (a method-agnostic parser and serializer, dist/Challenge.js), its request's bytes being canonicalize 5.1.0's RFC 8785 form, written in base64url without padding; challenges..header is the WWW-Authenticate value mppx writes and .wire the members it parses back, the request re-encoded. The filter rows have no oracle outside the profile: each is the profile's schema (rules 3 and 4) applied to a challenge whose encoding mppx and canonicalize fixed, one member changed from a good one, and its expected code. The credentials and receipts were written by mppx 0.17.6's Credential and Receipt codecs (dist/Credential.js, dist/Receipt.js): credentials..header is the Authorization value, whose base64url JSON is the wire credential, and credentials.hashMetaSource.input the credential mppx serialized to its header; the Hedera transaction a credential carries is the hiero-sdk-python 0.2.10 output of mpp-method-lcp-hedera.json. Assembled 2026-11-17 by a script run in the lcp package's directory, outside its source.
mpp-server-checks.jsonVectors for the two checks an MPP resource server makes before anything moves, and their order (mpp-charge.md, The server's order): place with the position and the act the caller gives, an agreement challenge stating expires, each pairing's advertise passing the act, each pairing's advertise refusing another pairing's challenge, tie and issuedDigest over a challenge as its pairing's unplaced gives it, the echoed id held whole to the id recorded at issue, the order of the checks, an agreement challenge composed anew in the position of the one it replaces, and an echoed opaque that is an object. The order of the steps has no outside oracle; the encodings it starts from are the profile's, as below. Every expected value was computed from the profile with Python 3.12.3's json, base64 and hashlib: RFC 8785 as json.dumps(sort_keys=True, separators=(',',':')) over these values, which hold ASCII keys and no fractions; base64url without padding; SHA-256. The credentials are those of mpp-charge-evm-authorization.json (buyer B6), mpp-charge-xrpl.json (place, refusals[0]) and mpp-charge-card.json (M1), with the changes each row's case names. The advertise rows' challenges are each named file's, with id, opaque and expires removed, and, where the pairing's advertise takes it so, the carrier its unplaced removes; the notThisPairing rows give each pairing's advertise the challenge of the advertise row its case names, with expires 2020-01-01T00:00:00Z added so that no pairing is left out for want of one, and expect mpp/not-this-pairing, the code pairingsOf's dispatch and every pairing's filter give a challenge that does not name the pairing (no outside oracle: a refusal of lcp's own); the agreement act's code is the profile's rule 2 (every agreement challenge states expires), and payment's, where the call refuses, is the code docs/reference/refusals.md gives a challenge with no expires whose every pairing needs one. C_E, H, the link and the agreement URL are mpp-challenge.json's.
mpp-session-evm.jsonVectors for mpp/session/evm. Expected values were computed with eth-abi 6.0.0, eth-account 0.14.0, eth-hash 0.8.0 and pyrlp 5.0.0 on Python 3.12.3, viem 2.57.4 and its ox 0.14.54 on Node 26.10.0, and GNU coreutils 9.4. Where a value is truncated, the row holds its prefix and suffix. The payer key is the published Anvil development key #0. The session request's amount is a price per unit and enters no expected value. Under the profile read-status, ES9's rows that were failed open-call-not-found (the open calls of another channel, presentedForH2) are pending search-incomplete: at coverage full no failed is answered until the search for H is read whole (rule 24).
mpp-session-hedera-solana-xrpl.jsonVectors for mpp/session/hedera/stock, mpp/session/xrpl and mpp/session/xrpl/stock, and for the Hedera and Solana channel pieces; rows that name a build or an opening of the retired mpp/session/hedera and mpp/session/solana are kept as wires and plants. Where a value is shortened, the row holds its prefix and suffix. HS4's receipts are live testnet reads from testnet.hashio.io (eth_getTransactionReceipt) at 2026-09-25T09:02Z. The placed challenges are computed with Python 3 json and base64url. XS4's opened is XS2's opening as the server answers it, which recover reads, and its closeRows a close named by closeTransaction; XS7 reads XS2's opening, and XS8 the stock session's channel. Each expected answer of XS4, XS7 and XS8 is the one the profile read-status (read-status.md) and the session profile's XRPL clause give the row's ledger, read at the mark validated for the act payment.
mpp-session-lightning.jsonVectors for the mpp/session/lightning pairing: the lightning entry point of @integraledger/lcp. The session challenge carries L2 (the mpp/charge/lightning vectors' invoice, h = H) as its depositInvoice and x402's payment hash as paymentHash, both at the top level of request as MPP's Lightning session draft places them. The rows follow the session draft's request members and actions (draft-lightning-session-00, blob 3bdcfd0184); no published session vector exists. The return invoice is BOLT11's published example "Please make a donation of any amount" (lightning/bolts 11-payment-encoding.md, blob ffd29a0909), which has no amount, as the session draft requires (draft-lightning-session-00, blob 3bdcfd0184: "returnInvoice: REQUIRED. BOLT11 invoice with no encoded amount"); light-bolt11-decoder 3.2.0 and bolt11 1.4.1 decode it with no amount. Only the open action is the session's payment; topUp, bearer and close are later actions in the session, with the draft's payload members.
mpp-session-solana.jsonVectors for mpp/session/solana/memo and mpp/session/solana/stock, @solana/mpp 0.7.0's session (src/Methods.ts:203-302), as the profile mpp-session-hedera-solana-xrpl.md, clause 2, states them. Fixtures: mpp-charge-solana.json's H, L, realm, expires, MV1, MV3opaque and blockhash; seed 01 as the payer, seed 02 as the operator, seed 03's address as the authorizedSigner, devnet USDC as the mint, x402's payTo as the payee, the payment-channels program CHNLxYvVA28MJP9PrFuDXccuoGXAx7jBacfLEkahyGsX (src/client/PaymentChannels.ts:43). Requests are base64url without padding of Python 3 json.dumps(sort_keys=True, separators=(',',':')). The memo opening is computed from the profile with @solana/kit 8.4.0, never by this package's builder: the stock open (src/client/PaymentChannels.ts:96-186; src/generated/payment-channels/instructions/open.ts:209-273, types/openArgs.ts, types/distributionEntry.ts), its fee payer and rent payer the operator, then one Memo instruction carrying L; signed by the payer alone, the operator's slot zero. The stock opening is that open without the Memo, signed by both, as a landed transaction the payer broadcast and named by its first signature.
mpp-session-tempo.jsonVectors for mpp/session/tempo and the tempo entry point's channel pieces. Expected values were computed with eth-abi 6.0.0, eth-account 0.14.0, eth-hash 0.8.0 and pyrlp 5.0.0 on Python 3.12.3, viem 2.57.4 and its ox 0.14.54 on Node 26.10.0, and GNU coreutils 9.4. Where a value is truncated, the row holds its prefix and suffix. The payer key is the published Anvil development key #0. L1 is a live v2 open on Tempo Moderato (eip155:42431), transaction 0x274c152568833e92246fdb8a01271e4af32c60edd2e561a53dcac3346865e1d1, read with eth_getRawTransactionByHash and eth_getTransactionReceipt from https://rpc.moderato.tempo.xyz on 2026-09-25 at 08:01Z; the receipt keeps status, block and logs. Under the profile read-status, TS6's settled answer names the transaction, its block as the position and its mark, and TS6.expectNotFound, failed binding-log-not-found before (a ChannelOpened of another salt or from another contract), is pending search-incomplete: at coverage full no failed is answered until the search for H is read whole (rule 24). A close reference names the challenge's recipient as the payee. CHANNEL_OPENED_V1 is the v1 escrow's event as it is deployed: the signature mppx 0.15.0's legacy escrow ABI gives (dist/tempo/legacy/session/escrow.abi.js:517-561: channelId, payer and payee indexed; token, authorizedSigner, salt and deposit not), whose topic, keccak256 of the signature by viem 2.57.4's toEventSelector, is the one Hedera's escrow of the same source emits (mpp-session-hedera-solana-xrpl.json); its salt is data word 2. L2 is a live v1 open on fixed.escrowV1, the escrow deployed on Moderato, its source in its case.
mpp-subscription-solana.jsonVectors for mpp/subscription/solana, MPP's subscription intent under the stock solana method, as @solana/pay-kit 0.13.1 defines it (dist/chunk-SSATEZ72.js:1988-2064), on the subscriptions program De1egAFMkMWZSN5rYXRj9CAdheBamobVNubTsi9avR44, whose instructions @solana/subscriptions 0.5.0, which pay-kit bundles, lays out. H rides as the activation's Memo instruction, which the stock client writes from the request's externalId after transfer_subscription (dist/chunk-SSATEZ72.js:2444-2447); the stock server does not read it, so bound checks it. Fixtures: mpp-charge-solana.json's H, L, realm, expires, link, MV1 and MV3opaque, seed 01 as the subscriber, seed 02 as the challenge's puller, seed 03's address as planAddress, devnet USDC as currency and mint, x402's payTo as recipient and its blockhash. Requests are base64url without padding of Python 3 json.dumps(sort_keys=True, separators=(',',':')). activation's transaction is a synthetic activation computed with @solana/kit 8.4.0, not by this package: SetComputeUnitPrice 1 and SetComputeUnitLimit 400000 prepended, init_subscription_authority, subscribe with the subscriber first and the subscription fourth, as the program's subscribe names them, its data the discriminator 11 alone, transfer_subscription with the puller as its signer, then the Memo; fee payer the subscriber; signed by the subscriber alone, the puller's signature slot zero. bound, reference and the channel read only the Memo and subscribe's discriminator and accounts 0 and 3, so it holds the members they read; live is an activation the chain ran, in the program's layout. Each reference names the payee of the challenge the payment answers, its request's recipient.
mpp-subscription-stripe.jsonVectors for mpp/subscription/stripe: the same carrier as the Stripe charge, under intent subscription. No subscription request is published, so the rows state relations (the carrier's value, the issued digest unchanged by the carrier, and an emptied metadata object removed with it), not digests.
mpp-subscription-tempo.jsonVectors for mpp/subscription/tempo and the tempo entry point's key authorizations. Expected values were computed with eth-abi 6.0.0, eth-account 0.14.0, eth-hash 0.8.0 and pyrlp 5.0.0 on Python 3.12.3, viem 2.57.4 and its ox 0.14.54 on Node 26.10.0, and GNU coreutils 9.4. Where a value is truncated, the row holds its prefix and suffix. The payer key is the published Anvil development key #0. L2 is a live key authorization on Tempo Moderato (eip155:42431), transaction 0x6c1cdc57bf5a4a98961b7897cac3212636eea551540ab3b32038c45f9d3d8d1c, read with eth_getRawTransactionByHash and eth_getTransactionReceipt from https://rpc.moderato.tempo.xyz on 2026-09-25 at 08:01Z; the receipt keeps status, block and logs. L2's key authorization limits pathUSD, its one allowed-call target, and allows transferTo, its one recipient, under each of its selector rules; expectTransferDigest is GNU coreutils sha256sum over transferTo's 20 bytes.
mpp-x402-mapping.jsonVectors for the mapping of an MPP payment that is an x402 payment (mpp-charge.md, rule 12): the evm method's authorization credential and the usdc method's EVM credential, each to x402's exact scheme with EIP-3009. The credentials are buyer B6 of mpp-charge-evm-authorization.json and mpp-charge-usdc-evm.json, whose signatures eth-account 0.14.0 made; the token domain is the former's fixed tokenDomain. Each refusal row changes one member of a good input, its case naming it. Each expected PaymentPayload and PaymentRequirements was written from the rule with Python 3.12.3's json and base64, in the shape the x402 specification's HTTP transport example gives (x402 d6d2c58, specs/transports-v2/http.md, Payment Payload Transmission) and @x402/core 2.30.0's PaymentRequirementsV2Schema and PaymentPayloadV2Schema (src/schemas/index.ts) require. signedDigest is the EIP-712 digest the payer signed, from those files: x402's verification (@x402/evm 2.31.0, src/exact/facilitator/eip3009.ts, verifyEIP3009) builds TransferWithAuthorization over the domain {name, version, chainId of network, verifyingContract asset} and the payload's authorization, and the mapped payment must give that digest and recover the payer. That function reads no maxTimeoutSeconds, and the schema requires a positive number; the mapping writes the challenge's expires less issued, the Unix second at which the resource server issued the challenge, here 300 seconds before expires, and never the window the payer signed, which lcp's builds open at 0 and close at expires. Each row's verifyAt is the answer of that verification, ExactEvmScheme's verify (@x402/evm 2.31.0, a devDependency of this package, src/exact/facilitator/eip3009.ts, verifyEIP3009), over the expected PaymentPayload and PaymentRequirements at the Unix second now, with a facilitator signer that reads no chain: it answers getCode with code at the asset and none at the payer, and the transfer's simulation without a revert. The payment verifies from issued until validBefore is less than now plus 6, the margin that function allows; its invalidReason past that is its ErrValidBeforeExpired.
read-status.jsonThe cases common to every pairing's read, the public half of the read kit, for the profile read-status (lcp/profiles/read-status.md). Each case states what a read observed, in the profile's own terms: the transactions it met, each with its position, the mark it was read at, what it moved (each transfer with its asset, amount, recipient, and where given its transaction and place in it), its result, whether it consumed the act's single-use value, whether it carries H, its signer against the payer and the option's payee, its pairing and kind, and the account it names (for a transaction with a failed result, which moved nothing, the destination in what the payer signed); the single-use value as read at the final mark, with whether it is consumed at the latest head where the read read it there (head), absent where the read has no means to read it; whether the search or lookup was read whole, and its position where it was not; the items the search met and could not decode (undecoded), each with the search position held at it; and whether the reader showed its history. Positions are integers; marks are 'included', 'safe' and 'final', in that order. Each expected answer was derived by hand from the rules of read-status.md the case names, for the act 'payment' and for the act 'agreement', and none was taken from the package's output. A transaction may also state presented, whether the message signed in it equals the payment presented (yes, no or unshown); every settled answer states the act's. Only the cases about presented state it, in their facts and their expected answer, and a pairing's read is held to its value only where the expected answer states it, so that a read answers each other case with whatever its comparison gives. An expected answer lists the members the answer must hold; foreign items are listed with their transaction and reason, and the items a search-incomplete answer names as ones its search could not decode by their transactions (undecoded). A pairing's own vectors run each case through its reader, mapping each transaction and position to its ledger's, or state that the case cannot arise on its ledger.
sd-jwt.jsonRows for the SD-JWT reader (src/sd-jwt.ts). C4 is RFC 9901's published disclosures and digests (sections 4.2.3 and 4.2.4.2). C6 and C7 are Verifiable Intent presentations built with Python 3 as compact JSON with fixed ES256 signatures. C8's presentations are built with Python 3 as compact JSON, with a placeholder signature the reader never checks, from C4's family_name and FR disclosures and a decoy digest that names no disclosure. The reader applies RFC 9901 section 7.1 steps 1 and 3-5, without step 2's signature check, with one allowance: a digest in _sd that does not name a three-element disclosure, whether it names a two-element disclosure or none, is ignored at its first _sd listing; section 7.1 step 4 rejects a digest met more than once, so C8's second listing is malformed. The reader's refusal codes are the caller's; these rows name the reason: malformed, sd-alg-unsupported, unreferenced or too-large. C9 spells C8's row 2 control with one segment, or its disclosure, in a form that is not canonical (RFC 4648 section 3.5): the last character's lowest pad bit is set, so the bytes are the same; its rows are built with Python 3's base64 and hashlib. Each is malformed: the reader takes RFC 7515 section 2's base64url in its canonical form only. The header row's header carries a kid, so that its segment has pad bits, and its control is the same presentation with that header in canonical form.
spend-permissions-eip155.jsonVectors for spend-permissions/eip155, the Spend Permission exchange of the profile spend-permissions-eip155.md: the entry point spend-permissions of @integraledger/lcp. H = SHA-256("abc") (FIPS 180-2 B.1) and L a link from a random token. The manager is the SpendPermissionManager's address @coinbase/cdp-sdk 1.60.0 names (src/spend-permissions/constants.ts:1), on Base Sepolia (eip155:84532), the token Base Sepolia's USDC, the account and the spender Hardhat's published development keys #0 and #1, which hold nothing. Every hash, selector, topic, call and event encoding is viem 2.57.4's: hashTypedData over the domain {name "Spend Permission Manager", version "1", chainId, verifyingContract} with the type SpendPermission as SpendPermissionManager.sol states it (coinbase/spend-permissions e0004e63, :92-94, :561-578, :772-775), toFunctionSelector, encodeFunctionData, encodeEventTopics and encodeAbiParameters over the ABI written from that file's lines :29-48, :132, :138, :277, :293, :397, :406, :476 and :485; the signature is viem's signTypedData of key #0. The header values are Node's Buffer base64url (RFC 4648 §5, no padding) of JSON.stringify's UTF-8. A refusal row's expected code is lcp's own, from the profile's rules; no outside oracle gives a code: each row changes one member of the good input the file holds and names the code the profile gives it. The approval's receipts in approvedIn are constructed from the encodings above; the manager's own getHash read on a deployment is not in this file, which holds no chain read. The issued digests in issuedDigest are Python 3.12.3's json and hashlib over rule 9's members, as its about states.
stellar-position.jsonVectors for the Stellar position P = ledger x 2^32 + order x 2^12 (an unsigned 64-bit integer whose low 12 bits are zero, ledger a uint32, order the application order from 1 to 2^20 - 1), written as a decimal string with no leading zero: stellarPosition, parseStellarPosition and muxedFor of @integraledger/lcp/stellar. The compose rows were computed with Python 3.12.3's integers. The horizon rows are the transactions of Stellar's Horizon API reference examples, stellar/stellar-docs openapi/horizon/components/examples/responses/Transactions/RetrieveATransaction.yml at a4643b46 (paging_token 120103542047408128, ledger 27963785) and ListAllTransactions.yml (fetched 2026-11-17): each paging_token parses to the example's ledger. muxed.M is MuxedAccount(seller, id = the position).account_muxed of stellar-sdk 13.0.0 (Python), the seller being the account of Ed25519 seed 04x32. The refusal rows hold one member changed from a row that parses; no tool writes them, and the codes are the profile's.
svm-read.jsonVectors for the Solana read (lcp/src/internal/svm-read.ts) as the profile read-status and the Solana profiles' read (profiles/x402-exact-solana.md, 6) state it: the search for H by the buyer's own account, its handle and bounds, the blockhash's bound from the first isBlockhashValid answer of true, the one mark, the party facts from the landed data, presented, a failed result, a durable nonce, the history, and coverage none. Every row's ledger is constructed, not recorded: test/svm-read.test.ts encodes each transaction as a legacy wire (Solana's documented message layout) and answers each call as the JSON-RPC method documents it (solana.com/docs/rpc: getSignaturesForAddress, newest first, before and until exclusive, its memo field the transaction's memos rendered [length] text; getTransaction with meta.err, meta.postTokenBalances and meta.innerInstructions; isBlockhashValid with its context slot; getFirstAvailableBlock; getAccountInfo of a nonce account, @solana/rpc-api 8.4.0). Keys are named by role: the fee payer, the buyer (payer), the option's payee, another account, the mint and the token accounts, each a 32-byte key of one repeated byte. A ref holds the message (its digest, its id and its blockhash), a transaction alone, or a durable nonce; txs list each transaction with its signer, where its transfer goes, the commitment the node holds it at and its slot; reader holds the node's first available block, its finalized and confirmed slots, and isBlockhashValid's answer and context slot at confirmed until one answers true, and in lapse its answers once that bound is held, at finalized and at confirmed; asks, the calls the read must or must never make; rules, the read-status rules and the part of the Solana read the row holds. Each expect is status's answer in those names, slots as decimal strings. While the search proves no absence (SVM_SEARCH_SHOWN false: no run has yet shown that the buyer's signatures list every transaction the buyer signs), a failed answer but before-position is pending, search-incomplete.
ucp-checkout-agent-signed.jsonVectors for ucp/checkout/agent-signed. H = SHA-256("abc") (FIPS 180-2) and OTHER = SHA-256("abd"), as 0x lowercase hex. Each Content-Digest is UCP's recipe (Universal-Commerce-Protocol/ucp v2026-08-25, docs/specification/signatures.md:455-457): sha-256=: then the standard base64 of the SHA-256 of the body's UTF-8 bytes then :, computed with Python 3's hashlib and base64. The request body is UCP's complete-checkout payment with the legal_context member this profile adds, written compactly in member order by Python's json; 'spaced' is the same members indented, whose own digest binds its own bytes. No signature is made or verified here: UCP's verifier checks the platform's signature before bound is called.
ucp.jsonVectors for the ucp/checkout/{ap2-mandate,unsigned} and ucp/booking/{ap2-mandate,unsigned} pairings (the ucp entry point of @integraledger/lcp). SHA-256 values were computed with GNU coreutils sha256sum and basenc and agree with OpenSSL. The tests build J, D and M from the fixed strings. J is the checkout JWT the AP2 mandate commits to, as UCP 2026-08-25's AP2 Mandates extension has the business sign it (docs/specification/payment/extensions/ap2-mandates.md, Business Authorization, sign_checkout, at tag v2026-08-25, commit 87dd4b1): fixed.merchantAuthorization, a detached JWS whose header, merchantAuthorizationHeader, carries the alg and kid UCP requires, with its payload reinserted, the payload being the base64url of the RFC 8785 form of V2's checkout without its ap2 member. UCP does not say which bytes are the checkout JWT; this is the second of the two readings its open issue 905 sets out, provisional until that issue is settled. The plant's J2 is built the same way. RFC 8785's form here is Python 3's json.dumps with sorted keys and no whitespace, which is that form for these values (ASCII strings and integers); 'built' holds J, D and M as written by Python 3's base64, hashlib and json (tools: ucp-rebuild-j.py). The signature segment is 64 zero bytes: no signature is verified. V5 uses ap2-checkout-mandate.json's V6 token. The 'implementation' rows fix refusals that UCP does not name; their inputs were built with Python 3. A checkout is measured as JSON.stringify writes it, at most 64 levels of arrays and objects, the checkout being level 1: an integer past the double range, which JSON.parse reads as Infinity, is written null.
x402-auth-capture-eip155-eip3009.jsonVectors for x402/auth-capture/eip155/eip3009 on the commerce-payments escrow v1.1. H is SHA-256("abc") (FIPS 180-2); the payer is the published Anvil development key #0; now is 1790000000. Values are written in full, or as their prefix and suffix where truncated. Refusal codes are this package's own, not the specification's. captureAuthorizer F is Anvil account 2, receiverAuthorizer R Anvil account 3, feeRecipient Anvil account 4; policy zero. The read's own cases are the read kit's (read-status.json, through the pairing's read-kit form); EV6 holds recover's.
x402-auth-capture-eip155-permit2.jsonVectors for x402/auth-capture/eip155/permit2 on the commerce-payments escrow v1.1. H is SHA-256("abc") (FIPS 180-2); the payer is the published Anvil development key #0; now is 1790000000. Values are written in full, or as their prefix and suffix where truncated. Refusal codes are this package's own, not the specification's.
x402-batch-settlement.jsonVectors for the x402 batch-settlement pairings (the x402-batch-settlement entry point of @integraledger/lcp). H is SHA-256("abc") and H' SHA-256("abd"); EVM keys are the published Anvil development accounts 0, 1 and 3, and EB10's refund authorizer account 2's address; the EVM values were computed with eth-account 0.14.0, eth-abi 6.0.0, eth-utils 6.0.0 and viem 2.57.4 and read them on Base Sepolia; the SVM values with solders 0.26.0, PyNaCl 1.6.2 and @noble/curves 2.4.0. The SVM fixtures (ES4's top_up, request_close and nonce-memo wires, ES5's landed wire, the no-channel transaction) were built with solders 0.26.0 on Python 3.11; the same script reproduces ES1, ES2, ES3 and ES5's txid. The receiver authorizer is the key of seed 03x32. An SVM opening carries two Memo instructions, the seller memo (extra.memo, L) and then x402's receiver-authorizer binding memo, whose UTF-8 data is x402:batch-settlement:svm:rcvauth:v1: and the base58 key (x402-foundation/x402 751590a2, specs/schemes/batch-settlement/scheme_batch_settlement_svm.md L121-127 and L1320-1325; the order is the steward SDK's, typescript/packages/mechanisms/svm/src/payment-channels/open.ts:464-467, and the text its batch-settlement/receiverBinding.ts:19 and test/unit/batch.receiverAuthorizer.test.ts, "round-trips the binding memo and rejects anything else", at the same commit). ES5 is a landed opening read by recover, landedErr the error it is read landed with; transactionV1's statusRows read the stock version-1 opening back, and the read's own cases are in svm-read.json. EB7's laterDeposit, laterDepositByPayer and plantOtherContract, each a transaction that is not this deposit, answer pending search-incomplete: the read defines no search for H, and at coverage full failed comes only from a search read whole (read-status rule 24). EB10 is the scheme's refund-authorizer mode, its values from the stock @x402/evm 2.31.0 client as its case states. transactionV1 is the version-1 transaction (SIMD-0385) the stock @x402/svm 2.31.0 client writes, run offline as its case states; its landed wire adds the fee payer's signature made with @noble/curves 2.4.0.
x402-exact-algorand.jsonVectors for the x402/exact/algorand pairing of @integraledger/lcp's avm entry point. H is SHA-256("abc") from FIPS 180-2. The values were computed with py-algorand-sdk 2.12.0 and PyNaCl 1.6.2 on Python 3.12.3, with hashlib's sha512_256 as a second path, 2026-09-25; the seeds are not recorded here. Rounds are decimal strings. The SignedTxn rows of V3's refusals are V2's payment entry decoded and re-encoded with algosdk 3.8.0's msgpackRawDecodeAsMap and msgpackRawEncode (which give V2's entry back unchanged) with one member replaced, and algosdk 3.8.0's decodeSignedTransaction refuses each. The rows of V3's refusals whose case ends "a string that is not well-formed UTF-8 (RFC 3629 §4)" are V2's payment entry with one msgpack string written by hand, its length set to its bytes: in place of one of V2's own strings, a map key or a value, or as the key of one member appended, with the value 5, to the entry's map or to its transaction's map, whose count rises by one; RFC 3629 §4's syntax and Python 3.12.3's strict UTF-8 codec refuse each such string. Rows 12 to 16 of V3's refusals are refused as the x402 path reads them: rows 12, 14 and 15 key a member algod does not know, and rows 13 and 16 write a gen whose bytes the x402 facilitator reads as other text. Rows 17 to 39 of V3's refusals are V2's payment entry written by hand in the msgpack specification's formats, with the member each case names written, appended to the payment transaction's map or added to the entry's, whose count rises by one, or the entry followed by one byte. Each is refused by go-algorand v5.0.3's decoder (go-codec v1.1.10 under go-algorand's CodecHandle) or by Transaction.WellFormed's type rules, or is read by algokit-utils 10.0.0-alpha.46's decodeSignedTransaction, the x402 reference facilitator's decoder, as another signed transaction than algod reads, or refused by it or by its transaction id. The x402 reference facilitator's reading is at x402-foundation/x402 e95b0666 (typescript/packages/mechanisms/avm): it decodes each entry's base64 with Node's Buffer.from(entry, "base64"), which takes other spellings of the same bytes than the canonical one, and lcp reads the canonical form only (RFC 4648 §3.5), so row 11 of V3's refusals is refused. The V4 rows give status's answer under the profile read-status at the one mark, final, asked about the act payment unless a row's query says otherwise; positions are confirmed rounds; V4's own about states the lookup, the search for H and the answers it gives while the facts the search rests on are not yet shown. V3.authorities holds V2's transaction under each authority, and build's row 6 the option at amount "0", each with its source.
x402-exact-aptos.jsonVectors for the x402/exact/aptos pairing: the aptos entry point of @integraledger/lcp. H is SHA-256("abc") from FIPS 180-2. The committed answer is Aptos mainnet transaction 0xde08191e…ef48ceb5 (version 7351075186) read over REST from api.mainnet.aptoslabs.com on 2026-09-25, trimmed to the members the reader returns. Fixture F's RawTransaction is built with @aptos-labs/ts-sdk 7.5.0 from that answer (max_gas_amount 15000, gas_unit_price 100, chain 1); its SHA-256 is Python's hashlib. idDigest is Python's hashlib.sha256 over json.dumps(sort_keys=True, separators=(',',':')) of the normal form. Other answers are the real one with the named member changed. The trimmed answer shows no events or changes: each committed answer here carries a Withdraw and a Deposit event of the fungible-asset framework and, at the deposit's store, an ObjectCore change naming its owner and a FungibleStore change naming its asset, in the REST API's shape; these, and every store address (SHA-256 of the owner and the asset), are constructed, and no node was read for them. The account answers (sequence number, ledger time and X-Aptos-Ledger-Oldest-Version) and the lookups' oldestVersion are constructed in the same way. The issue position given is version 7351070000. Each expected answer was derived by hand from read-status.md and the profile x402-exact-aptos.md. Ledger times are microseconds. A lookup by sequence number that finds nothing answers notFound with the ledger timestamp of that answer (the REST API's X-Aptos-Ledger-TimestampUsec header), so it shows absence only through that ledger. A committed answer is read only with its events and its changes, the members the read takes the deposits from: the same answer without either is out of the reader's form, unparseable, and never read as a transaction that deposited nothing (the profile x402-exact-aptos.md, rule 8). The rows that compare the signed gas members carry the real answer's max_gas_amount 15000 and gas_unit_price 100, as fixture F records them; the two 0x1::fungible_asset::transfer answers, whose arguments are stores, the answer with a script payload and the block_metadata_transaction a hint names are constructed in the same way. An absent transaction is unused only once the ledger time of the answer that read the account's sequence number (its X-Aptos-Ledger-TimestampUsec), in whole seconds, is at or past expiresAt: the Aptos prologue takes a transaction only while timestamp::now_seconds() < txn_expiration_time, and refuses it from that second with PROLOGUE_ETRANSACTION_EXPIRED (aptos-core e53447e0, aptos-move/framework/aptos-framework/sources/transaction_validation.move). The V4 rows give status's answer under the profile read-status at the one mark, committed, asked about the act payment unless a row's query says otherwise; positions are ledger versions. A transaction committed at the sequence number consumed it: one that is not the act asked about, its deposit reaching a store another account owns, signed by the payee, or an act the caller gave, answers failed instrument-consumed, and one with success false failed transaction-failed (the profile, rule 11). The account's number passed with nothing returned at it answers pending search-incomplete (read-status rule 23). Nothing at the number with the account not past it answers pending instrument-live before the expiry and failed instrument-unused from it; each of these is decided only where the history floor of every answer is at or below the issue position, and otherwise answers unreadable history-gap (read-status rule 18).
x402-exact-cardano.jsonVectors for the x402/exact/cardano and x402/exact/cardano/lock pairings: the cardano entry point of @integraledger/lcp. H is SHA-256("abc") from FIPS 180-2. V1 is cbor2 5.7.1's encoding of the auxiliary data (pycardano 0.19.2's AuxiliaryData(AlonzoMetadata(...)).to_cbor() is equal). V2 and V4 are built with pycardano 0.19.2 on Python 3.11; the one vkey witness is from a key generated when the fixture was built, which does not change the body or the id. V3 is Cardano preprod transaction 628eca29…c73ef4be, its CBOR read through Koios /tx_cbor on 2026-09-25; V4's row 14 is V3's transaction with a bit set past the last byte in its last base64 character before the padding. Every Blake2b-256 is Python's hashlib.blake2b(digest_size=32) over the item's bytes as located by cbor2's decoder. fixed.OLock is fixed.O under the script lock method, the option of x402/exact/cardano/lock. The V4 rows that carry auxiliaryDataHex were built with cbor2 5.7.1 and hashlib on Python 3.12.3: V2's body with key 7 set to the Blake2b-256 of the hand-assembled auxiliary data given, signed by the Ed25519 key of seed 00x32 (pycardano 0.19.2). CIP-20 lines are compared as their UTF-8 bytes: a repeated key in label 674's map, a repeated label 674, more than one line that reads as the marker when case and a leading byte-order mark (U+FEFF) are ignored, and a marker line not in lower case are each refused, because readers that keep the last of repeated keys (cborg 6.1.3's default decode) or strip a leading byte-order mark would read those messages another way; cborg 6.1.3 with rejectDuplicateMapKeys refuses each repeated-key row. V5's recover rows read the included transaction by its id. V6 is V2's transaction with body key 3 removed and the map's count lowered, its id Python's hashlib.blake2b(digest_size=32) over the new body: the address method admits a body with no TTL, as @x402/cardano 2.30.0's facilitator admits it (exact/facilitator/scheme.ts:815, which checks a TTL only where the body has one), and the lock refuses it, since the scheme requires a TTL of a lock (scheme_exact_cardano.md:836). V7 is the scheme's own Masumi datum encoding test vector, copied from scheme_exact_cardano.md (SHA-256 7079d96f…204e4968, line 514), whose field 2, the seller, is the enterprise address of key hash 22 x 28 (lines 497-513). V8 is the agreement floor, the formula of the scheme's Minimum UTXO Value (scheme_exact_cardano.md:899-902): its address bytes are BIP-173's reference Bech32 decoder's (github.com/sipa/bech32 ref/python/segwit_addr.py, without the 90-character limit) and each output is cborg 6.1.3's encoding of {0: address, 1: value}, its coin found by iterating from zero to the least coin that covers its own encoding; the token row's value is [coin, {policy: {empty name: 1}}]. The read's own rows, status over a ledger, are the read kit's (read-status.json through the forms in test/read-kit/forms/cardano.ts, over a constructed ledger, every answer of which is constructed and says so) and the constructed rows of test/cardano.test.ts. The agreedRefusals row for an inclusion above the tip reads 0 confirmations, below the 20 asked for: pending below-mark (rule 17).
x402-exact-casper.jsonVectors for the x402/exact/casper pairing: the casper entry point of @integraledger/lcp. H is SHA-256("abc") from FIPS 180-2; the option, payee and payer are x402's Casper example; the EIP-712 values were computed with @casper-ecosystem/casper-eip-712 1.2.1 and, separately, viem 2.57.4 over CEP-3009's formula by hand, on Node 26.10.0; every SHA-256 with GNU coreutils sha256sum. The public key and signature are placeholders of the tagged widths: bound verifies no signature. Byte strings are hex; uint256 values are decimal strings; a call's blockHeight is a decimal string. C3's rows change only validBefore: CEP-3009's transfer_with_authorization takes valid_before as a u64 and names u64::MAX the value that never expires, and reference records settleBy as validBefore up to 2^53-1, ECMAScript's Number.MAX_SAFE_INTEGER, and as 2^53-1 above it, and refuses a validBefore of 2^64 or more. C4 and C5 read status over constructed nodes, described in C4's about; C5 holds the act agreement.
x402-exact-ccd.jsonVectors for the x402/exact/ccd pairing: the ccd entry point of @integraledger/lcp. H is SHA-256("abc") from FIPS 180-2. The accounts are version byte 01 plus SHA-256 of a label, base58check-encoded with bs58check; x402's example addresses fail base58check. D1 was produced by cborg 6.1.3; D2 was hand-assembled to the steward's PLT encoder; the digests are GNU coreutils sha256sum. D3's CCD signedTransaction is the output of @concordium/web-sdk 12.0.2's Transaction.toJSONString for Transaction.transfer(payee, 1000000 microCCD, memo D1) with sender payer, nonce 7, expiry 1790000060 and sponsor with one signature, signed by Transaction.sign with buildBasicAccountSigner of the seed 0x00…01; its memo is DataBlob.toJSON, a 2-byte big-endian length then the bytes, and the refusal rows' memos are DataBlob.toJSON of their bytes. D3's PLT signedTransaction is the output of the same SDK's Transaction.toJSONString for Transaction.tokenUpdate(createTokenUpdatePayload(EURR, {transfer: {amount: TokenAmount.create(5000000, 6), recipient: CborAccountAddress.fromBase58(payee), memo: CborMemo.fromString(H's LCP string)}})) with the same sender, nonce, expiry, sponsor and seed; its operations are Cbor.toJSON, plain hex with no length, and its recipient is the SDK's tag-40307 map with the coin info (key 1, tag 40305 {1: 919}) beside the address (key 3). bound verifies no signature. Byte strings are hex; amounts are decimal strings. A memo carries H only as ccdMemo(H) exactly: LCP's string form with lowercase hex, as one CBOR text string under RFC 8949 §4.1's preferred serialization (cborg 6.1.3's strict decode refuses the non-preferred head), so bound, status and recover read it alike. A map with a repeated key is malformed (RFC 8949 §5.6; cborg 6.1.3 with rejectDuplicateMapKeys refuses the repeated memo). D3's wireForm rows hold x402's wire form, JSON.parse(Transaction.toJSONString(tx)), against the SDK's object before serialization, whose header holds bigints (a row names the paths the test makes bigints), and against the unparsed JSON text; each is refused ccd/transaction-malformed. D4's rows change a member bound does not read, the signed transfer's receiver or amount or a member of the header whose energy the sender signed: bound gives H, and reference, which reads each, refuses them. Their changed toAddress fails bs58check 4.0.0's checksum; 2^64 is one past the largest u64, the type of a Concordium amount; and cborg 6.1.3 decodes the changed PLT operations with the recipient under tag 40306, where the steward's encoder writes an account address under tag 40307, and the amount under tag 5, RFC 8949 §3.4.4's bigfloat, where a token amount is tag 4, its decimal fraction. D5's rows give status's answer under the profile read-status through a constructed node, as D5's own about states it, with the answers the read gives while the facts its search rests on are not yet shown. D3.signedEnergy states the energy the sender signed, and stockOptions the options the stock facilitator takes, each with its source.
x402-exact-eip155-eip3009.jsonVectors for the x402/exact/eip155/eip3009 pairing: the x402 and evm entry points of @integraledger/lcp. H is SHA-256("abc") from FIPS 180-2; O is the x402 specification's example option (section 5.2.1); the payer is the published Anvil development key. The EIP-712 values were computed with eth-account 0.14.0, eth-abi 6.0.0 and eth-utils 6.0.0 on Python 3.12.3; every SHA-256 with GNU coreutils sha256sum. The ERC-20 Transfer topic is keccak256("Transfer(address,address,uint256)"). Byte strings are hex; uint256 values are decimal strings. Under the profile read-status, a V6 row that would read failed (a revert, no use of H, no paired transfer) reads pending search-incomplete: its reader makes no log query, and at coverage full a failed answer waits for the search for H (rule 24).
x402-exact-eip155-erc7710-salt.jsonVectors for x402/exact/eip155/erc7710-salt, MetaMask's DelegationManager v1.3.0. H is SHA-256("abc") (FIPS 180-2); the payer is the published Anvil development key #0; now is 1790000000. Values are written in full, or as their prefix and suffix where truncated. Refusal codes are this package's own, not the specification's. The leaf L's caveat is arbitrary: bound never reads caveats. The read's own cases are the read kit's (read-status.json, through the pairing's read-kit form); EV9 and plantsEV9 hold recover's.
x402-exact-eip155-erc7710.jsonVectors for x402/exact/eip155/erc7710, the unsigned level. H is SHA-256("abc") (FIPS 180-2); the payer is the published Anvil development key #0; now is 1790000000. Values are written in full, or as their prefix and suffix where truncated. Refusal codes are this package's own, not the specification's.
x402-exact-eip155-gateway-batched.jsonVectors for x402/exact/eip155/gateway-batched (lcp/profiles/x402-exact-eip155-gateway-batched.md). Oracle: Circle's own client, @circle-fin/x402-batching 4.0.0 (npm, published 2026-10-22, sha512 KLdHz85N...), run as this workspace's pinned devDependency on 2026-11-17: S's typed data, domain and signature are what BatchEvmScheme's signing step (src/client/BatchEvmScheme.ts:317-355, the domain at :330-338, the versions at src/constants.ts:14-19) handed its signer and the signature it returned, given the authorization with nonce H, its own nonce being random (src/nonce.ts:6-12); W's window is createPaymentPayload's (src/client/BatchEvmScheme.ts:234-247, src/constants.ts:37-49) with its clock at fixed.now; wallets is CHAIN_CONFIGS (src/config.ts:110-116, :121-360), each network's Gateway Wallet and USDC, and the test has createPaymentPayload sign each network's version 1 option for its USDC and refuse it for fixed.notUsdc, Base Sepolia's EURC (isVersionAllowed, src/detection.ts:104-115, called at src/client/BatchEvmScheme.ts:222-227); filter's circle column is supportsBatching (src/detection.ts:35-48). S's digest is viem 2.57.4's hashTypedData of the typed data Circle's client handed its signer, the independent EIP-712 check. The keys are the published Anvil development keys #0 (the payer) and #1 (another account). check.highS is S[1]'s signature with s replaced by the curve order less s and v flipped, computed with BigInt; viem's recoverTypedDataAddress reads it as the payer's (check.highSRecovers), and reads check.v1SigUnderO2Recovers and check.value10001Recovers from the typed data Circle's client hands its signer for S[1]'s authorization under O2, with S[0]'s signature and with the value 10001, which the authorizer rows expect. signer's rows give the account authorizer gives beside the authorization's from and an agreement's signer, the account each recovers being viem's (check). H is SHA-256("abc") (FIPS 180-2 B.1). The refusal rows (filter, eip3009Filter, build, bound, authorizer, boundAccepted) are each a good input with one member changed and the code the profile gives it; no outside oracle states lcp's codes, and each row's input starts from the outputs above.
x402-exact-eip155-permit2.jsonVectors for x402/exact/eip155/permit2. H is SHA-256("abc") (FIPS 180-2); the payer is the published Anvil development key #0; now is 1790000000. Values are written in full, or as their prefix and suffix where truncated. Refusal codes are this package's own, not the specification's. The read's own cases are the read kit's (read-status.json, through the pairing's read-kit form); EV6 and plantEmitter hold recover's rows.
x402-exact-hedera-transfer-executor.jsonVectors for the x402/exact/hedera/transfer-executor pairing, from x402's own example at 8228bd6d. idDigest is the payer's, printf '%s' '0.0.5001' | sha256sum; openssl dgst -sha256 and Python hashlib printed the same. A row settles where the payer is the one account the record debits and the record credits the payee; the asset and amount are recorded and judged by nothing. The staking-reward rows add a reward of 12345 tinybars to x402's example as HIP-406 records one: the rewarded account's credit in transfers includes the reward, 0.0.800 pays it, and staking_reward_transfers lists it. Each parent entry with transfers carries charged_tx_fee, the fee the Mirror Node's Transaction records as charged to the fee payer; here it is the fee payer's 5000000-tinybar debit, credited to 0.0.3 and 0.0.98; x402's example states no fee. A row's reference fields override the status reference. The status rows give executorStatus's answer under the profile read-status at the one mark, consensus, asked about the act payment unless a row's query says otherwise. The named transaction id is single-use (x402-exact-hedera.md, rule 15): a failed result under it answers failed, transaction-failed; a success that is not the payer's payment to the payee, one crediting another account or debiting another account than the payer among them, failed, instrument-consumed; and with no entry under it that decides, pending, instrument-live, until its valid start plus 180 seconds is strictly before the mirror's latest consensus timestamp, and failed, instrument-unused, after it, the mirror holding records back to that valid start.
x402-exact-hedera.jsonVectors for the x402/exact/hedera pairing of @integraledger/lcp's hedera entry point. H is SHA-256("abc") from FIPS 180-2. The bytes were computed with hiero-sdk-python 0.2.10's generated protobufs and protobuf 7.36.2 (SerializeToString(deterministic=True)) and cryptography's Ed25519 on Python 3.12.3, 2026-09-25; the signing seed is not recorded here. Byte strings are hex unless named base64. The V5 rows give status's answer under the profiles read-status and x402-exact-hedera at the one mark, consensus, asked about the act payment unless a row's query says otherwise.
x402-exact-lnbtc.jsonVectors for the x402/exact/lnbtc/payment-hash pairing: the lightning entry point of @integraledger/lcp. H is SHA-256("abc") from FIPS 180-2. The option, its invoice (fixed.x402Invoice), the payment presented, the preimage, the payment hash, the request hashes of requestHashes, the validation time 1700000000, the clock-skew allowance of 60 s and every reason of validate are x402's scheme text, specs/schemes/exact/scheme_exact_lnbtc.md at x402-foundation/x402 88b66dd4 (PaymentRequirements, PaymentPayload, Request Binding Test Vectors, Facilitator Validation, Paid-but-expired Policy, Error Vocabulary), with extra.paymentHash, this form's member, set to x402's payment hash; payTo is the public key of x402's test-only key 1. Each invoice of invoices was written by bolt11 1.4.1's encode and signed by its sign with the key its encode names (key 1 or key 2, the secp256k1 private keys 1 and 2), which signs deterministically, and is read back by light-bolt11-decoder 3.2.0; bolt11 also writes its default feature bits. BOLT 11 at lightning/bolts 19146282 (11-payment-encoding.md) gives the field rules each refused invoice breaks. The ln/ and x402/ codes are lcp's own (docs/reference/refusals.md) and the order of the checks is the profile's (x402-exact-lnbtc-payment-hash.md): no outside oracle gives a refusal code, so each refusal row starts from the encoding its oracle gives and changes the one member its case names. L1 is BOLT11's published example 'Now send $24 for an entire list of things (hashed)'; L4, an invoice with x402's request hash in h and H in its m field, was made by an encoder that reproduced L1 byte for byte (@scure/base, @noble/curves and @noble/hashes 2.4.0) and is read by light-bolt11-decoder 3.2.0 and bolt11 1.4.1; L7 is L4 with a 4,301-digit amount and its checksum recomputed (BIP-173, in Python).
x402-exact-near.jsonVectors for the x402/exact/near pairing: the near entry point of @integraledger/lcp. H is SHA-256("abc") from FIPS 180-2. The payer's key is the Ed25519 seed 01 repeated 32 times and its implicit account. The option is x402's NEAR example. Expected values were computed with (borsh-construct 0.1.0, hashlib and PyNaCl 1.6.2, with near-api-js 7.3.1 and borsh 2.0.0 as a cross-check). Negative signed delegate actions are V1's with one part changed and a zero signature, except these agreedRefusals rows: row 15, V2's with a bit set past the last byte in its last base64 character before the padding; row 16, V2's delegate action with its ft_transfer arguments led by a byte-order mark (EF BB BF), signed again with the payer's key; rows 23 to 25, V1's with two parts changed, the sender's first bytes and the count of actions; row 26, V1's with a signature of 63 zero bytes and 0x20; row 28, V1's with two parts changed, the receiver's first bytes and the count of actions; row 29, V1's with two parts changed, the sender, written as 64 A's, and the count of actions; and row 30, V1's with two parts changed, the receiver, written as -usdc.testnet, and the count of actions. Nonces and heights are decimal strings. The read rows are constructed ledgers, described in read.about; a status row's expected answer was derived by hand from the profile read-status.
x402-exact-polkadot-lcp-assets-remark.jsonVectors for the x402/exact/polkadot/lcp-assets-remark pairing of @integraledger/lcp's polkadot entry point. H is SHA-256("abc"). V1 is a real extrinsic read live (block 21,053,708, index 3); V2's call was printed by @polkadot/api 16.5.6 and equals a hand encoding in Python; V3's extrinsic was accepted by TaggedTransactionQueue_validate_transaction on Polkadot Asset Hub (Invalid(Payment): signature and extensions accepted, the account unfunded); every BLAKE2b-256 is b2sum -l 256 (GNU coreutils 9.4). The eraNonce rows' signer, era and nonce are as @polkadot/types 17.0.1 decodes them under Polkadot Asset Hub's transaction extensions (eraNonce's about). Reader fixtures take Sidecar's answer shapes; heights are decimal strings. The upper-case remark rows replace the 77 remark bytes of V3 and V2's call with lcp:sha256:0x and H's digits in upper case; the signature is V3's and does not cover those bytes, which bound does not verify. The recover and status rows with another call put it after V3's signed preamble and extensions, SCALE by hand with each call's pallet and call index as Polkadot Asset Hub's runtime has them (polkadot-fellows/runtimes at 30696143, system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs:1731-1776: System 0, Balances 10, Utility 40, Proxy 42, Assets 50, ForeignAssets 53; polkadot-sdk at 23b84ba4: utility batch 0, batch_all 2, force_batch 4, proxy.proxy 0, balances transfer_keep_alive 3, assets transfer_keep_alive 9), and recompute the length prefix; the signature is V3's and does not cover that call, which neither recover nor status verifies. The re-signed status rows replace V3's signature with 64 bytes of 0x11, and one its era bytes a502 with b502. A status row's events with another call are constructed in Sidecar's shape, each as the pallet emits it (pallet_proxy's ProxyExecuted, pallet_utility's BatchInterrupted, ItemFailed, ItemCompleted and BatchCompletedWithErrors, pallet_balances' Transfer, the assets pallet's Transferred under foreignAssets). Status rows are read with the act payment at the finality the row gives, finalized where it gives none, after the position the row gives, by the signer's account nonce as the profile's rule 8 states it: the reader fixture answers V4's raw extrinsics at block 100 and one bare v4 item (length, 0x04, a two-byte call) at every other height from 90 to 120, the row's finalized and head heights, the account nonce at each, and the chain's validation of the presented extrinsic (valid at the height given, or not valid); these answers are constructed, not recorded. Each expected answer is derived by hand from read-status.md and the profile's rule 8; each transfer of what moved is named by the extrinsic's timepoint and its place, the index of its event among the fixture's events as the endpoint lists them, and only a transfer whose from is the payer is what moved (Balances' Transfer { from, to, amount } and the assets pallet's Transferred { asset_id, from, to, amount }, polkadot-sdk at 23b84ba4, substrate/frame/balances/src/lib.rs:349 and substrate/frame/assets/src/lib.rs:701-706). The wrapper rows read the account a call runs as: a delegate's proxy.proxy runs its call as its real, the payer, its preamble V3's with the delegate's account (0x22 bytes) as the signer; and a delegate's multisig.as_multi_threshold_1 (Multisig is pallet 41, polkadot-fellows/runtimes at 30696143, system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs:1767; as_multi_threshold_1 is call 0, polkadot-sdk at 23b84ba4, substrate/frame/multisig/src/lib.rs:311-337) with one other signatory (0x55 bytes) runs it as the multisig account, BLAKE2b-256 by hashlib of modlpy/utilisuba, the compact count and the sorted accounts, and the threshold 1 as a u16 (substrate/frame/multisig/src/lib.rs:645-648, :789-808), which that row gives as the reference's signer: a multisig account holds no key, so no reference reads it from a presented extrinsic, and the row constructs it. The answer names the delegate as the signer and the wrapper as its authority. The rows of a transfer call of zero inside nested batches read when such a call ran from the utility pallet's own dispatch (polkadot-sdk at 23b84ba4, substrate/frame/utility/src/lib.rs:117-125 for the events, :214-237 utility.batch dispatching its calls in order and depositing BatchInterrupted with the failing call's index and stopping, :323-350 batch_all, :419-441 force_batch depositing ItemFailed or ItemCompleted for each call and BatchCompletedWithErrors or BatchCompleted after them), each call's own events undone where it failed; their events are as those lines emit them, the failing balances.transfer_keep_alive's error Balances' InsufficientBalance (substrate/frame/balances/src/lib.rs:441, error 2 of pallet 10) and the refused call's frame_system CallFiltered (substrate/frame/system/src/lib.rs:955, error 5 of pallet 0), and each transfer of zero is named by its call's path. The two status rows on a version 5 general transaction carry a real one: Polkadot Asset Hub block 23,351,613 (0x653b14b743d070972626b8bd188b83b260b3a6f115347f9148e24c20f765c214), index 2, as chain_getBlock answers it from polkadot-asset-hub-rpc.polkadot.io, a balances.transfer_keep_alive under extension version 1 whose VerifyMultiSignature is Signed by 0xfc06d74b…1615, era (64, 52) and nonce 2961, the extensions in the order Metadata_metadata_at_version(16) lists them at that runtime (spec 2005003); AccountNonceApi_account_nonce for that account answers 2961 at the block's parent and 2962 at the block, and its TransactionFeePaid event names the same account. The row of the signer's own transaction takes that account and nonce as the reference's, and its record's events are the block's System.Events for index 2, decoded by @polkadot/types 17.0.1 under the block's metadata and put in Sidecar's shape (substrate-api-sidecar 20.14.1 answers 500 for this block); its hash is that transaction's BLAKE2b-256 (b2sum -l 256).
x402-exact-solana.jsonVectors for the x402/exact/solana pairing: the svm and x402/exact/solana entry points of @integraledger/lcp. Expected values: H is SHA-256("abc") from FIPS 180-2; keys from Ed25519 seeds 01x32 and 02x32; x402's example payTo and blockhash; devnet USDC, computed with solders 0.26.0 on Python 3.12.3. The transaction fixtures (V3's variants, V4's landed wire, the plant) were built with solders 0.26.0 on Python 3.11 from the same seeds; the same script reproduces the V2 wire and V4 txid. V3's row 4 is V2's wire with a bit set past the last byte in its last base64 character before the padding. Byte strings are hex unless named base64. carrierSpelling and durableNonce were built with solders 0.26.0 on Python 3.12.3 from the same seeds and inputs (the nonce account from seed 04x32, its authority the payer); durableNonce's messages were sent to the LiteSVM bundled with solders 0.26.0, whose outcomes and nonce account bytes the section records. The read's own cases, the search for H by the buyer's account, its handle, the blockhash's bound, the party facts and presented, are in svm-read.json; transactionV1's statusRows read the stock version-1 payment back; each reference names the option's payee. transactionV1 is the version-1 transaction (SIMD-0385) the stock @x402/svm 2.31.0 client writes, run offline as its case states; its landed wire adds the fee payer's signature made with @noble/curves 2.4.0.
x402-exact-starknet.jsonVectors for the x402/exact/starknet pairing: the starknet entry point of @integraledger/lcp. H is SHA-256("abc") from FIPS 180-2. The option and the payer are x402's Starknet example (scheme_exact_starknet.md at 0cb1a1f0). Expected values are computed with starknet 10.7.6, the version package.json pins and the tests run, and @noble/hashes 2.4.0 on Node, Python 3.12.3 and GNU coreutils; the type hashes are SNIP-9's published values. Trace fixtures model starknet_traceTransaction's execute_invocation, receipt fixtures starknet_getTransactionReceipt's events, and event pages starknet_getEvents. A Transfer is an event whose first key is sn_keccak("Transfer") (S1.expectSelectorTransferEvent, from starknet.js hash.getSelectorFromName and keccak256 masked to 250 bits, which agree), keyed (keys [selector, from, to], data [low, high]) or unkeyed (keys [selector], data [from, to, low, high]). A failed call's descendants keep is_reverted false, and their events are cleared (blockifier's execute_inner_call; Pathfinder maps is_reverted from execution.failed). S5 reads status over constructed nodes, S6 recover, S7 the act agreement, S8 bound's and reference's refusals of a message that is not the option's form; landed holds starknetLandedNonce's fixtures. Each expected answer is derived from the profile x402-exact-starknet.md and read-status.md, none taken from the package's output.
x402-exact-stellar-precondition.jsonVectors for x402/exact/stellar/precondition (x402-exact-stellar-precondition.md): the 40-byte payload, the signed-payload signer, the build of the transaction the buyer signs, bound and reference, and every refusal of the profile. The fixed inputs are H = SHA-256("abc") (FIPS 180-2), the seller from Ed25519 seed 04x32, the buyer from 05x32, a stranger from 09x32, the asset the contract strkey of 06x32, on testnet, and x402-exact-stellar.json's V2 simulated envelope (nonce 1) with its transfer set to transfer(buyer, seller, 10000000). The expected values were computed outside the workspace with stellar-sdk 13.0.0 (Python 3.12.3; its xdr, keypair, auth and signer_key modules): the payload as H then the nonce by int.to_bytes(8, 'big', signed=True); the signer as xdr.SignerKey SIGNER_KEY_TYPE_ED25519_SIGNED_PAYLOAD; the preimage as xdr.HashIDPreimage ENVELOPE_TYPE_SOROBAN_AUTHORIZATION; the transaction with xdr.PreconditionsV2 holding the time bounds the simulated envelope carried and that one signer, the entry signed by auth.authorize_entry and the payload by Keypair.sign_payload_decorated; command: python3 -I gen.py x402-exact-stellar.json . Each envelope of refusedBound is that build with one member changed, written by the same tool; the option and choice rows of refusedFilter and refusedBuild change one member, and no tool writes their codes, which are the profile's.
x402-exact-stellar.jsonVectors for the stellar entry point's transaction pieces, the payer-signed Soroban transfer and its authorization entry, on which x402/exact/stellar/precondition builds; the pairing x402/exact/stellar is retired. The fixed inputs are H = SHA-256("abc") from FIPS 180-2, the seller from Ed25519 seed 04x32, the payer from 05x32 and the asset the contract strkey of 06x32, on testnet; the expected values were computed with stellar-sdk 13.0.0 on Python 3.12.3. The fixtures described without being printed (the unsigned simulated envelope, V4's plain-G envelope) were built with stellar-sdk 13.0.0 on Python 3.11 from V3's envelope; the same script reproduces V2's preimage digest and signature. The payer signs the authorization entry's rootInvocation, not the operation (CAP-46: the credentials' signature covers the HashIDPreimage of the network id, nonce, expiration and invocation; x402 scheme_exact_stellar: argument 1 (to) MUST equal payTo, and the rootInvocation MUST NOT contain subInvocations), so the payment is read from that invocation and the operation must invoke exactly it. V4's rows with a differing operation or signed invocation, and V4build, were built with @stellar/stellar-sdk 17.2.1 (its XDR codec, and authorizeEntry for the payer's signature, nonce 1, expiration 1000) from V2's simulated envelope, V4build's other token contract being the contract strkey of 07x32 and its other payer the account of Ed25519 seed 08x32, both encoded by its StrKey; the same builder reproduces V3's envelope and V4's plain-G envelope byte for byte. V4's encoding rows follow RFC 4648 (section 3.3: characters outside the base alphabet are rejected; section 3.5: non-zero padding bits are rejected; section 4: the encoding is padded to a multiple of 4) and the XDR decoder of @stellar/stellar-sdk 17.2.1, which refuses bytes after the envelope.
x402-exact-sui.jsonVectors for the x402/exact/sui pairing: the sui entry point of @integraledger/lcp. H is SHA-256("abc") from FIPS 180-2. V1 is Sui testnet transaction EV7D7z9gjzjrAQSKWSW8S1iLGdk8aEVPjn3zLA1aUSLE, its transactionBcs read over GraphQL (graphql.testnet.sui.io) on 2026-09-25. V2 and V3 are recipe R, built with @mysten/sui 2.35.0. Every digest is Python 3's hashlib.blake2b(b"TransactionData::" + bytes, digest_size=32), then base58. O is a test option: the option's values are not read by the pairing beyond its filter. V4's status rows read with position 5, the checkpoint from which the caller needs the endpoint's history. A reader answer's firstCheckpoint is the endpoint's serviceConfig.availableRange(type: "Query", field: "transaction").first, which Sui's GraphQL schema (MystenLabs/sui, crates/sui-indexer-alt-graphql/schema.graphql) defines as the "Inclusive lower checkpoint for which data is available"; a row that gives none answers null, an endpoint that states no range. An absent transaction past its epoch bound, while the endpoint holds transactions from the position or earlier, waits for the search for H (the profile x402-exact-sui.md, rule 13), which at this release proves no absence (rule 15); without that history it is unreadable history-gap. V3's MoveCall row is recipe R with one MoveCall appended, written with @mysten/sui 2.35.0's bcs (@mysten/bcs 2.1.2). V4's status rows and the plant are read with the act payment at the one mark final, after V4's position, and answer as the profile read-status gives them: a reader answer's searchRange is the range availableRange(type: "Query", field: "transactions", filters: ["sentAddress"]) states (schema.graphql of @mysten/sui 2.35.0, line 3968, as installed), with the epoch of its last checkpoint, and its pages are the sender's transactions with their effects' balanceChangesJson; both are constructed, in the shapes the profile states, and no endpoint was read for them. Every balance change is constructed. The transactions R2 (recipe R with Epoch(1240)), RP (recipe R sent by the payee), RN (recipe R with the SHA-256 of the empty string in place of H) and RO (recipe R with Epoch(1241), paying the account fixed.other) under search were built with @mysten/sui 2.35.0 and digested with Python's hashlib as above. Each expected answer was derived by hand from read-status.md and the profile x402-exact-sui.md: a search read whole proves no absence at this release (the profile's rule 15), so where the read would answer failed for any reason but before-position it answers pending search-incomplete at the search's head. RG, RS and RM under search were built with @mysten/sui 2.35.0 (its coinWithBalance intent with the build option assumeSufficientAddressBalances, so no endpoint was read) and digested with Python's hashlib as above: RG pays 10000 of testnet USDC (0xa1ec7fc0…::usdc::USDC) on the gasless path, price 0, budget 0 and no gas payment, the intent drawing it from the payer's address balance and sending the remainder back to the sender with 0x2::coin::send_funds; RS sends 1000 MIST of SUI to the payee, who owns the gas data; RM passes 10000 MIST split from the gas coin to a Move call, 0xabab…::shop::pay, that credits the payee, no command naming the payee. Their balance changes, the coin type with type parameters (0x5c5c…::reserve::CToken<…>) and the balance change whose owner is no address are constructed. Each entry of what moved is named by its transaction and its place: a balance change by its owner and coin type, a signed transfer by its command's index (the profile, rule 9).
x402-exact-tron-lcp-trc20-memo.jsonVectors for the x402/exact/tron/lcp-trc20-memo pairing: the tron entry point of @integraledger/lcp. H is SHA-256("abc") from FIPS 180-2. V1 is mainnet transaction 40662c9c…, read live from a Solidity node. V2's inputs are the published Anvil development key, USDT-TRC20, the payee bytes of x402's example option under 0x41, and solidified block 86542765. The signature was made with coincurve 21.0.0 (RFC 6979) and recovers to the payer; base58check with base58 2.1.1; the Transfer topic with pycryptodome 3.23.0 keccak; every SHA-256 with hashlib. Negative transactions are V2 with fields changed, written by hand from Tron.proto's field numbers. V4's status fixtures model the nodes' answers: a lookup that finds nothing answers notFound with the time of the latest block at its level on the node that answered, and null marks an answer status does not read. A node includes a transaction only while its expiration is after the head block's time (java-tron Manager.validateCommon), so a lookup names absence through the solid head read first only when its node has reached that head's time. V4's recover fixtures model the transaction read's answers: a transaction id is the SHA-256 of its raw data, so raw data whose SHA-256 is another is not the transaction the id names, an answer recover refuses tron/unreadable as it refuses a failed read. Byte strings are lowercase hex; int64 values are decimal strings. V4's status rows and the plant are read with the act payment at the finality the row gives, solidified where it gives none, after the position the row gives, and answer as the profile read-status gives them with the pairing's rule 8: each reference holds V2's raw data, the payment presented. Status rows read the transaction's owner, the reference's payer, against the option's payee, and record each Transfer log of the receipt whose sender, the address its second topic names, is the transaction's owner (its emitter, the recipient its third topic names and the amount its data holds, the data written for these modeled answers from the amount V2 signs; the topics as TRC-20's Transfer(address indexed _from, address indexed _to, uint256 _value) orders them, tronprotocol/tips at c29d7363, tip-20.md:159) as what moved, named by the id and the log's place among the receipt's logs; an answer that names a transaction names its owner as the signer and its contract's Permission_id (Tron.proto:384 at java-tron 4e8389f1; 0 where absent, as protobuf omits a default) as the authority; on the act payment the transaction is the payment only where a log's recipient is payTo, whatever contract emitted it. Block answers are constructed, in the shape java-tron at 4e8389f1 gives (framework/src/main/java/org/tron/core/services/http/GetBlockByLimitNextServlet.java:18, :45-52; Util.java:137-148, :295-298): each block is named by its number, the 8 bytes a blockID begins with, then the bytes ab, its parentHash the block before it's. A failed receipt, a receipt that names no payee's account and a lapse take the search for H, and until the run that shows a block's answer lists every transaction of its block a complete search proves no absence: they answer pending search-incomplete, with the search's position where it had a range (rule 25). V5's rows read the search over constructed blocks whose transactions are V2's raw data with fields changed by hand (its timestamp, its owner, its call's recipient), each id their SHA-256 by hashlib. zero's rows read a signed transfer(to, 0) whose receipt holds no Transfer log, as its case states. owner's rows read V4's raw data, or zero's, under receipts whose Transfer logs come from the owner and from another account, the other account 0x41 and twenty 0x11 bytes and the third 0x41 and twenty 0x22 bytes: only the owner's logs are what moved, and the transfer of zero is read only from a receipt that holds no Transfer log.
x402-exact-tvm.jsonVectors for the x402/exact/tvm pairing: the tvm entry point of @integraledger/lcp. H is SHA-256("abc") from FIPS 180-2. The expected cell hashes, BoC and signature prefixes were computed with pytoniq-core 0.2.0 and PyNaCl 1.6.2; fixed.attachNanotons is 30,000,000 nanotons, the stock settler's cap above a forward TON amount of 0 (@x402/tvm 2.30.0, src/exact/facilitator/scheme.ts:326-329, DEFAULT_JETTON_WALLET_MESSAGE_AMOUNT in src/constants.ts:14), and V2's and V2b's members that depend on it, with the settlement BoC buyer row B6 presents, were recomputed at it by a script that builds the request from the profile's layout (x402-exact-tvm.md, rule 2) with @ton/core 0.63.1 and @noble/curves 2.4.0 and imports nothing of this package, after that script reproduced, at the earlier 50,000,000, every one of those values pytoniq-core 0.2.0 and PyNaCl 1.6.2 gave, byte for byte; the request body hashes by a script that builds the settlement message with those tools and reproduces the vector's settlement root hash first. The payer's key is the Ed25519 seed 01 repeated 32 times. Negative settlement BoCs are V2's request with one part changed, except agreedRefusals' row 22, buyer row B6's settlementBoc with a bit set past the last byte in its last base64 character before the padding, and the agreedRefusals rows whose case says their settlement message is written bit by bit. status is read through a TON Center v3 reader as the profile x402-exact-tvm states it (rule 6); its cases are the read kit's, read-status.json's cases arranged on a constructed ledger (test/tvm-ledger.ts, test/read-kit/forms/tvm.ts), and no recorded answer of a tvm:-3 index is held yet. V4.recover's rows model the one call recover makes, byHash, with inBody a BoC in hex. V6 is the payment the stock client of @x402/tvm 2.30.0, which this package pins as a devDependency, writes from the stock server's option once H is placed in it, run offline against a constructed provider as its case states; its settlementBoc is that client's output, byte for byte.
x402-exact-xrpl.jsonVectors for the x402/exact/xrpl pairing: the xrpl and x402/exact/xrpl entry points of @integraledger/lcp. Expected values: H is SHA-256("abc") from FIPS 180-2; payer from Ed25519 entropy 01x16, destination from 02x16; 1 000 000 drops, Fee 12, Sequence 7, LastLedgerSequence 1000, computed with xrpl-py 4.1.0 on Python 3.12.3, GNU coreutils 9.4 and OpenSSL 3.0.13. The plant's blob was built with xrpl-py 4.1.0 on Python 3.11; the same script reproduces V2's and V3's blobs and hashes. Each reference names the option's payee. The read's rows are in read.
x402-headers.jsonVectors for x402's three HTTP headers, PAYMENT-REQUIRED, PAYMENT-SIGNATURE and PAYMENT-RESPONSE: padded standard base64 (RFC 4648 §4) of the UTF-8 of JSON.stringify of the object, as the x402 specification's HTTP transport states it and its examples give it (x402 d6d2c58, specs/transports-v2/http.md), and as @x402/core 2.30.0 writes it (src/http/index.ts, encodePaymentRequiredHeader, encodePaymentSignatureHeader and encodePaymentResponseHeader: safeBase64Encode(JSON.stringify(value)), src/utils/index.ts). The spec rows are the specification's four example headers, each decoded with Python 3.12.3's base64.b64decode(validate=True) and json.loads, and each re-encoded byte for byte by base64.b64encode of json.dumps(separators=(',',':')). The composed row's expected document and header were written from the rule and the legalContext extension's schema with the same tools; bazaar's members are a placeholder extension the package does not declare. The refusals are values no stock client writes. The stock rows are the specification's two settlement responses as x402's Python server writes PAYMENT-RESPONSE (x402 88b66dd4, python/x402/http/utils.py:73-76: base64.b64encode of json.dumps of the model's dump, its members in python/x402/schemas/responses.py:75-82's order, with json.dumps's ', ' and ': ' separators), computed with Python 3.12.3; each decodes to the specification's object. The specification's example headers are byte-equal at 88b66dd4 and d6d2c58. The stockEncoder rows are what @x402/core 2.30.0's own encoders write (src/http/index.ts:17-18 encodePaymentSignatureHeader, 50-51 encodePaymentRequiredHeader and 76-80 encodePaymentResponseHeader, which deletes extensionResponses before JSON.stringify) for a specification row's decoded object, extended by the members each row adds, with each member undefinedAt names set to undefined, which JSON.stringify leaves out; computed with Node 26.11.1 calling those functions as the package's dist/esm/http/index.mjs exports them.
x402-request-commitment.jsonVectors for the request an x402 challenge commits to in the ATR's binding slot (x402-request-commitment.md). HTTP: the method as received, the target split at its first ?, SHA-256 over the body bytes. MCP: the tool's name and SHA-256 over the RFC 8785 form of its arguments, _meta not committed. The MCP calls are the x402 MCP transport's own example tools/call request (x402 d6d2c58, specs/transports-v2/mcp.md, Payment Payload Transmission) and the changes each row's case names. Expected values were computed with Python 3.12.3's hashlib.sha256 and, for RFC 8785, json.dumps(sort_keys=True, separators=(',',':'), ensure_ascii=False), which is RFC 8785's form for these values (keys of ASCII, numbers that are integers or 0.5); bodyUtf8 is the body's bytes as UTF-8. Header fields (httpHeaders, httpHeaderRefusals): where the resource server names request header fields, the HTTP commitment also holds headers, for each field named, in the order named, its lower-cased name and SHA-256 of its value, the field's lines as received, each without its leading and trailing spaces and tabs, joined in the order received by a comma and a space, cookie's by a semicolon and a space, and null for a field the request lacks; with none named it has no headers member. Each httpHeaders row gives the field lines as received on the wire (received), the record requestCommitment is given (request.headers) and the names (fields). Its expected digests were computed 2026-11-16 (the tilde row 2026-11-17, the same way) by sending received, as one HTTP/1.1 request, to a node:http 26.11.1 server created with joinDuplicateHeaders: true, whose req.headers gives each field's lines trimmed and joined, cookie's by '; ' (as @types/node 26.6.5 http.d.ts states), and hashing that value with node:crypto's SHA-256, checked with Python's hashlib; none was taken from the package's output. A refusal row's fill, where present, sets the named field to char repeated length times, on lines lines (1 where absent). Refusals (httpRefusals, mcpRefusals) each change one member of a good request or call; a method is refused where it is not a token, RFC 9110's method = token, token = 1*tchar (sections 9.1 and 5.6.2), and the http row whose method holds every kind of tchar is taken as received; an httpRefusals row's fill sets target to / and char to length characters, or body to char repeated length bytes; the 8192-character target and 1 MiB body bounds are the profile's, x402 setting none. Every mcp row's digest is also recomputed by the test with canonicalize 5.1.0, an RFC 8785 implementation independent of this package, and node:crypto's SHA-256; the row whose keys sort differently by UTF-16 code units than by code points, and whose numbers take ECMAScript's exponent forms, was computed that way on 2026-11-17 (Python's sort_keys and float forms give another digest for it). The paid retry repeats the first call's name and arguments with the payment in _meta, as @x402/mcp 2.30.0's client sends them (src/client/x402MCPClient.ts:562-580, the first call {name, arguments: args}, args {} by default; :684-707, the retry {name, arguments: args, _meta: {[MCP_PAYMENT_META_KEY]: paymentPayload}}).
x402-upto-eip155-permit2.jsonVectors for x402/upto/eip155/permit2. H is SHA-256("abc") (FIPS 180-2); the payer is the published Anvil development key #0; now is 1790000000. Values are written in full, or as their prefix and suffix where truncated. Refusal codes are this package's own, not the specification's. The upto facilitator F is Anvil account 2. The read's own cases are the read kit's (read-status.json, through the pairing's read-kit form); EV6 holds recover's rows.
x402-upto-solana.jsonVectors for the x402/upto/solana pairing (the x402-upto-solana entry point of @integraledger/lcp). Expected values use x402-exact-solana.json's fixed inputs (receiverAuthorizer from seed 03x32; nonce 7; openSlot 341000000; amount 10000; withdrawDelay 3600), computed with solders 0.26.0, PyNaCl 1.6.2 and @noble/curves 2.4.0. The fixtures (EU5's landed wire, the no-channel transaction, the plants' wires) were built with solders 0.26.0 on Python 3.11; the same script reproduces EU1, EU3 and EU5's txid. The no-channel message's digest, d4e6becc...1c47, is recorded here in full. EU5 is a landed opening and a transaction with no channel instruction, read by recover and bound; transactionV1's statusRows read the stock version-1 opening back, and the read's own cases are in svm-read.json; each reference names the option's payee. transactionV1 is the version-1 transaction (SIMD-0385) the stock @x402/svm 2.31.0 client writes, run offline as its case states; its landed wire adds the fee payer's signature made with @noble/curves 2.4.0.
x402-upto-xrpl.jsonVectors for the x402/upto/xrpl pairing (the x402-upto-xrpl entry point of @integraledger/lcp), x402's upto scheme on the XRP Ledger (specs/schemes/upto/scheme_upto_xrpl.md at x402-foundation/x402 88b66dd4, cited by line as :N). No published software implements the scheme (@x402/xrpl 2.30.0 ships exact alone), so every value is computed from the scheme's text by independent tools: fixed.O and fixed.OSettle are the scheme's own examples (:110-124, :128-142), verbatim. The keys are Ed25519 by XRPL's key derivation (xrpl.org, Cryptographic Keys, Ed25519 Key Derivation: the private key is SHA-512Half of 16 bytes of entropy, the public key 0xED and the curve point), entropy 01x16 the payer, 03x16 another account, 04x16 another destination, the account base58check of 0x00 and RIPEMD-160(SHA-256(public key)) (@noble/hashes 2.4.0 legacy, ripple-binary-codec 2.11.0's AccountID). create.txJson is written by hand from xrpl.org's PaymentChannelCreate fields; create.blob is ripple-binary-codec 2.11.0's encode with SigningPubKey and TxnSignature, the signature @noble/curves 2.4.0's Ed25519 over ripple-binary-codec's encodeForSigning; each hash is SHA-512Half of TXN\0 and the blob (node:crypto). Each channel id is the PayChannel ID format (xrpl.org, PayChannel, PayChannel ID Format; :56): node:crypto's SHA-512Half of 0x0078, the two AccountIDs and the sequence or ticket, big-endian. claim.expect is ripple-binary-codec 2.11.0's encodeForSigningClaim({channel, amount}), the bytes :251-254 state, and claim.signature the payer's Ed25519 signature over them, which fixed.P presents. Expected answers of status are written by hand from the profiles read-status and x402-upto-xrpl, each row read on a constructed server holding ledgers 1 to 1001, 1000 validated, unless complete says otherwise (test/fixtures/xrpl-reader.ts): the reference of fixed.P with the row's channel, plus fromLedger 950, read for the act payment at the mark validated after the position 950. ledger_entry answers the row's PayChannel at the validated ledger, or entryNotFound where the row names none; account_tx answers the row's creates for the row's opener alone, each with tesSUCCESS at its ledger, validated unless the row says otherwise, its metadata creating the row's channel unless metadata is false. Refusal rows change one member of fixed.P or of fixed.O, as a JSON Pointer (RFC 6901) and its value, or remove it; their codes have no outside oracle and are the profile's rules 5 and 7 over the scheme's members (:144-150, :172-188, :236-243).
Edit on GitHub

Last updated on