원클릭으로
rlusd-x402
XRPL x402 buyer flow. Use when the user wants to fetch a paid API resource using the x402 HTTP payment protocol with an XRPL wallet.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
XRPL x402 buyer flow. Use when the user wants to fetch a paid API resource using the x402 HTTP payment protocol with an XRPL wallet.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when a user wants to inspect or execute RLUSD Wormhole NTT bridge routes, estimates, prepared bridge plans, execution, or status/history across supported EVM chains.
Route RLUSD requests to the correct chain workflow and keep side effects behind explicit planning.
Use when an RLUSD workflow depends on a local rlusd-cli wallet name, the user says "my wallet", or a command needs `--from-wallet`, `--owner-wallet`, or `--wallet`.
RLUSD on XRPL. Use for issuer resolution, trust-line semantics, read commands, prepare workflows, controlled execution, and transaction status checks.
RLUSD buy and redeem guidance. Use for manual provider, rail, and prerequisite instructions, not automated fiat execution.
Execute an explicit RLUSD DeFi workflow using the external rlusd-cli runtime, including prepared swap, LP, and Aave supply execution flows.
| name | rlusd-x402 |
| description | XRPL x402 buyer flow. Use when the user wants to fetch a paid API resource using the x402 HTTP payment protocol with an XRPL wallet. |
| user-invocable | true |
Use this skill when the user wants to access a paid HTTP resource using the x402 payment protocol. The CLI handles the full negotiation cycle: initial request, 402 Payment Required parsing, compatible payment selection, XRPL payment signing, and authenticated re-request.
rlusd-transfer.use-rlusd-xrpl.rlusd-defi-action.x402 fetch, load rlusd-wallets to confirm the XRPL wallet
alias exists locally. The --wallet flag is optional; when omitted, the CLI
falls back to the default XRPL wallet. When provided, it requires a local
signer alias, not an r... address.--max-value flag is required and must be a positive number. It caps the
maximum amount the CLI will agree to pay per request.--method flag defaults to GET. Only GET and POST are supported.--require-asset and --require-issuer to constrain which payment options
the CLI will accept from the server. This is useful when the server advertises
multiple payment options and you want to pay only with a specific asset.--json-body for POST requests; the CLI validates the JSON before
sending and fails immediately on malformed JSON. It auto-sets Content-Type: application/json unless a custom content-type header is provided.--header to add custom request headers. The format is "Name: value".
Multiple headers can be passed by repeating the flag.exact scheme. Other
scheme types advertised by the server are ignored during selection.rlusd config get --json
rlusd wallet list --json
# --wallet is optional; omit it to use the default XRPL wallet
rlusd x402 fetch <url> --max-value <amount> --json
rlusd x402 fetch <url> --wallet <name> --max-value <amount> --password "$RLUSD_WALLET_PASSWORD" --json
rlusd x402 fetch <url> --wallet <name> --max-value <amount> --method POST --json-body '{"key":"value"}' --json
rlusd x402 fetch <url> --wallet <name> --max-value <amount> --require-asset RLUSD --require-issuer rBvKgF3jSZWdJcwSsmoJspoXGpHUhBGurg --json
rlusd x402 fetch <url> --wallet <name> --max-value <amount> --header "Authorization: Bearer tok" --json
Use the output to confirm (all success fields nest under data):
data.response.ok is true and data.response.status is a success codedata.payment.negotiated is true when x402 payment was performeddata.payment.selected_requirement shows which payment option was useddata.payment.settlement contains the on-chain settlement proof when presentcode is PAYMENT_NEGOTIATION_FAILED with the server's
accepts array for debugging, or X402_FETCH_FAILED for other errors--max-value flag is required and must be positive. The CLI rejects zero
or negative values.--method flag only accepts GET or POST. Other HTTP methods are
rejected.--wallet flag is optional. When omitted, the CLI uses the default XRPL
wallet. When provided, it requires a local XRPL wallet alias, not an on-chain
address. Use rlusd-wallets to confirm the alias before running the command.treasury-xrpl already exist
locally; use rlusd-wallets before any wallet-backed x402 fetch.--password "$RLUSD_WALLET_PASSWORD" explicitly or let the CLI read
RLUSD_WALLET_PASSWORD from the environment.--max-value.--require-asset does case-insensitive verbatim matching against the server's
advertised asset or currency field. XRPL servers may advertise RLUSD using
the hex-encoded currency code (524C555344000000000000000000000000000000)
instead of the human-readable symbol RLUSD. If --require-asset RLUSD fails
with PAYMENT_NEGOTIATION_FAILED, check the error's accepts array for the
actual currency value and retry with that value.--require-asset or --require-issuer are set and no server option
matches, the command fails with a clear error."Name: value" format with a colon separator.
Invalid headers are rejected.accepts array in the error envelope and adjust --max-value,
--require-asset, or --require-issuer accordingly.X402_FETCH_FAILED is a catch-all error code. Common triggers include:
--max-value (not a positive number)--json-body (invalid JSON)rlusd-wallets, then run
x402 fetchrlusd-wallets,
then run x402 fetchrlusd-wallets, then run x402 fetch
with --method POST --json-body '...'rlusd-wallets,
then run x402 fetch with --require-asset RLUSDaccepts array in the error envelope