Skip to main content
Glama

Plumb Data Exchange

verify_payment

Verify an on-chain payment without trusting any RPC: did this tx transfer at least this amount of a token (default USDC) to this payee, optionally from this payer? Proven by Plumb (Base via proof-backed L1 checkpoints, Ethereum via a light client, XRP Ledger via a quorum of Ripple's validator list: RLUSD, XRP or any issued currency). Bound to the exact transfer (log index); returns the proof level, how long a Base checkpoint can still be challenged, the evidence to re-check, and an Ed25519-signed receipt. Never answers not_paid while a payment is still pending; abstains (unverifiable) whenever the proof is incomplete. Costs $0.02 USDC (x402) ($0.002 for an XRP Ledger payment); asking again about the same claim costs nothing. Optional requiredLevel (releasable or not) and callbackUrl (signed events when the level is reached, the answer changes, or checking gives up).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoChain of the paymentbase
payeeYesAddress that should have received the money (XRPL: an r... account)
payerNoOnly count transfers from this address (the token holder who paid)
tokenNoERC-20 contract (default: USDC on the chain). XRPL: RLUSD (default), XRP, or CURRENCY.rIssuer
txHashYesTransaction hash (0x + 64 hex; XRPL: 64 hex)
logIndexNoBind to one transfer: its position within the tx's logs
invoiceIdNoXRPL only: the InvoiceID (64 hex) the payment must carry; binds the answer and its signed receipt to your invoice
callbackUrlNohttps URL to notify (signed, retried) when requiredLevel is reached, when the answer changes, or when checking gives up
minAmountRawNoMinimum amount in base units, e.g. "50000" = 0.05 USDC (default: any). XRPL: XRP drops, or millionths of an issued currency
requiredLevelNoProof level you need before releasing money (Base: tee_attested < zk_proven < resolved; Ethereum: finalized; XRPL: unl_quorum). The answer then says whether it is releasable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / invoiceId
      Added value: +{
      +  "description": "XRPL only: the InvoiceID (64 hex) the payment must carry; binds the answer and its signed receipt to your invoice",
      +  "type": "string"
      +}
  2. Changed7 schema fields changed
    • changedInput schema / properties / chain / enum
      Previous value: -[
      -  "base",
      -  "ethereum"
      -]New value: +[
      +  "base",
      +  "ethereum",
      +  "xrpl"
      +]
    • changedInput schema / properties / minAmountRaw / description
      Previous value: -"Minimum amount in base units, e.g. \"50000\" = 0.05 USDC (default: any)"New value: +"Minimum amount in base units, e.g. \"50000\" = 0.05 USDC (default: any). XRPL: XRP drops, or millionths of an issued currency"
    • changedInput schema / properties / payee / description
      Previous value: -"Address that should have received the money"New value: +"Address that should have received the money (XRPL: an r... account)"
    • changedInput schema / properties / requiredLevel / description
      Previous value: -"Proof level you need before releasing money (Base: tee_attested < zk_proven < resolved; Ethereum: finalized). The answer then says whether it is releasable."New value: +"Proof level you need before releasing money (Base: tee_attested < zk_proven < resolved; Ethereum: finalized; XRPL: unl_quorum). The answer then says whether it is releasable."
    • changedInput schema / properties / requiredLevel / enum
      Previous value: -[
      -  "tee_attested",
      -  "zk_proven",
      -  "resolved",
      -  "finalized"
      -]New value: +[
      +  "tee_attested",
      +  "zk_proven",
      +  "resolved",
      +  "finalized",
      +  "unl_quorum"
      +]
    • changedInput schema / properties / token / description
      Previous value: -"ERC-20 contract (default: USDC on the chain)"New value: +"ERC-20 contract (default: USDC on the chain). XRPL: RLUSD (default), XRP, or CURRENCY.rIssuer"
    • changedInput schema / properties / txHash / description
      Previous value: -"Transaction hash (0x + 64 hex)"New value: +"Transaction hash (0x + 64 hex; XRPL: 64 hex)"
  3. Changed2 schema fields changed
    • addedInput schema / properties / callbackUrl
      Added value: +{
      +  "description": "https URL to notify (signed, retried) when requiredLevel is reached, when the answer changes, or when checking gives up",
      +  "maxLength": 500,
      +  "type": "string"
      +}
    • addedInput schema / properties / requiredLevel
      Added value: +{
      +  "description": "Proof level you need before releasing money (Base: tee_attested < zk_proven < resolved; Ethereum: finalized). The answer then says whether it is releasable.",
      +  "enum": [
      +    "tee_attested",
      +    "zk_proven",
      +    "resolved",
      +    "finalized"
      +  ],
      +  "type": "string"
      +}
  4. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources