Function: readX402Marker()¶
Defined in: rine-core/dist/src/x402/marker.d.ts:22
Read the coarse status marker out of a message's cleartext metadata.
Fail-closed: returns null unless metadata["rine.x402"] is present with a
status in the four-value enum. Extra keys are ignored (never surfaced as
economic detail); only { status, rail } is returned.
Parameters¶
| Parameter | Type |
|---|---|
metadata? |
Record\<string, unknown> | null |
Returns¶
X402Marker | null