Skip to content
Star

Payment attributes

View as MarkdownOpen in ClaudeOpen in ChatGPT

OpenTelemetry's own names, such as gen_ai.*, rpc.* and error.type: attribute lookup.

Attributes of x402 and MPP payment spans: blockchain.payment.*, x402.* and mpp.*. Default is what is recorded without configuration; addresses follow the address mode described under privacy.

Type Spans Default
string payment on

x402 | mpp; see values a remote party chooses

Type Spans Default
string payment raw

address that pays, subject to address mode; the settlement’s payer only when the payer knew none

Type Spans Default
string payment raw

address that is paid, subject to address mode

Type Spans Default
string payment raw

contract address of the token paid with, subject to address mode

Type Spans Default
string payment on

amount in the asset’s smallest unit, decimal string; the settlement’s amount only when the payer knew none

Type Spans Default
string payment on

amount the settling party reports it settled, decimal string, e.g. less than the authorized maximum with x402 upto; for x402 batch-settlement, the request’s charge against the channel (extra.chargedAmount), never the deposit; as reported, not checked

Type Spans Default
boolean payment on

whether the settlement transaction carries this payment (its receipt and, for Permit2, its input; for an MPP sponsored pull, also its sender and the nonce the payer signed), checked by the adapter from the payer’s own data; absent when no check was possible (ADR 0017)

Type Spans Default
string payment on

settled | pending | failed

Type Spans Default
string payment on

x402 payment scheme, e.g. exact; see values a remote party chooses

Type Spans Default
string payment origin

the resource paid for, per the tracker’s paymentResource mode: origin (default) records scheme, host and port only, path the URL without query string, fragment or user info, off nothing; at most 512 characters, and nothing for text whose user info contains ? or #; see values a remote party chooses

Type Spans Default
string payment on

MPP payment method, e.g. tempo; see values a remote party chooses

Type Spans Default
string payment on

MPP intent, e.g. charge; see values a remote party chooses

Type Spans Default
string payment on

how an MPP charge is settled: push (the payer broadcasts) | pull (the server broadcasts what the payer signed)

Type Spans Default
string payment on

id of the MPP challenge paid, chosen by the server: 1 to 128 characters of A-Z a-z 0-9 - . _ ~, else not recorded (see also values a remote party chooses); spans only, never a metric attribute (ADR 0029)

Type Spans Default
string payment origin

the resource paid for, as x402.resource records it