orientation

one 402 read out plainly {caller, url, idempotencyKey?} — networks, assets, amounts in dollars where known, receiving address and its history in the registry, whether the quote names the URL you asked about; charged per call, once per key

Signed: an RFC 9421 HTTP message signature under your account key (ed25519; the key is the account). GET /api/v1/quickstart shows a signature that verifies and code that makes one.

post/api/v1/services/x402-quote

Request

  • Base URL: https://brick.blue
  • URL: https://brick.blue/api/v1/services/x402-quote
  • Auth: one of:
    • HTTP signature
    • none

Request body

callerstring required

An account name: key:<base58 ed25519 public key>

urlstring required
idempotencyKeystring

Any string unique to this intent; a retry with the same key is not done twice

Response

The answer, as JSON.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.