Payment attributes
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.
blockchain.payment.protocol
Section titled “blockchain.payment.protocol”| Type | Spans | Default |
|---|---|---|
| string | payment | on |
x402 | mpp; see values a remote party chooses
blockchain.payment.payer
Section titled “blockchain.payment.payer”| Type | Spans | Default |
|---|---|---|
| string | payment | raw |
address that pays, subject to address mode; the settlement’s payer only when the payer knew none
blockchain.payment.recipient
Section titled “blockchain.payment.recipient”| Type | Spans | Default |
|---|---|---|
| string | payment | raw |
address that is paid, subject to address mode
blockchain.payment.asset
Section titled “blockchain.payment.asset”| Type | Spans | Default |
|---|---|---|
| string | payment | raw |
contract address of the token paid with, subject to address mode
blockchain.payment.amount
Section titled “blockchain.payment.amount”| 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
blockchain.payment.settled_amount
Section titled “blockchain.payment.settled_amount”| 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
blockchain.payment.verified
Section titled “blockchain.payment.verified”| 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)
blockchain.payment.status
Section titled “blockchain.payment.status”| Type | Spans | Default |
|---|---|---|
| string | payment | on |
settled | pending | failed
x402.scheme
Section titled “x402.scheme”| Type | Spans | Default |
|---|---|---|
| string | payment | on |
x402 payment scheme, e.g. exact; see values a remote party chooses
x402.resource
Section titled “x402.resource”| 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
mpp.method
Section titled “mpp.method”| Type | Spans | Default |
|---|---|---|
| string | payment | on |
MPP payment method, e.g. tempo; see values a remote party chooses
mpp.intent
Section titled “mpp.intent”| Type | Spans | Default |
|---|---|---|
| string | payment | on |
MPP intent, e.g. charge; see values a remote party chooses
mpp.mode
Section titled “mpp.mode”| Type | Spans | Default |
|---|---|---|
| string | payment | on |
how an MPP charge is settled: push (the payer broadcasts) | pull (the server broadcasts what the payer signed)
mpp.challenge.id
Section titled “mpp.challenge.id”| 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)
mpp.resource
Section titled “mpp.resource”| Type | Spans | Default |
|---|---|---|
| string | payment | origin |
the resource paid for, as x402.resource records it