Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET Crypto API Suite

SET Crypto API Suite · Senders and screening

The text a wallet signs to prove it is yours

GET/v1/senders/message

Key scope: read · Platform accounts · Success: 200

The exact text a wallet signs to prove it is yours, with its issuedAt and expiresAt. Nothing is stored; each call issues a new issuedAt.

Query parameters

chain "base" | "ethereum" | "solana" | "arbitrum" | "avalanche_c_chain" | "celo" | "optimism" | "polygon"required
base, ethereum or solana; with expanded routes on, also arbitrum, avalanche_c_chain, celo, optimism and polygon. Missing or another, it answers 400 chain_invalid.
address stringrequired
The wallet: 0x + 40 hex on an EVM chain, base58 of 32 to 44 characters on Solana. Missing or malformed, it answers 400 address_invalid.

Notes

  • Direct Deposit is switched on per deployment; until then 503 direct_deposit_disabled.
  • Needs the read scope; the key needs no direct_deposit scope.
  • A platform account. A business account answers 409 merchant_no_senders until SET switches business senders on.
  • GET /v1/senders/message needs both chain and address.
  • Sign message exactly as returned and send it to POST /v1/senders with the same issuedAt before expiresAt, one hour later.
  • address is echoed lowercase on an EVM chain and exact case on Solana.
  • signWith says how to sign: on Solana, signMessage (Ed25519 over the message's UTF-8 bytes), sent as base58 or 0x hex. A program-owned payer (a PDA or multisig vault) cannot sign: ask SET to register it.
  • The answer has no object or sandbox field.
  • This example is a recorded run of SET's own code (wallet release e9b03447) with a sandbox key; ids and times are that run's.

Errors

  • 409 merchant_no_senders
  • 503 direct_deposit_disabled
  • 400 chain_invalid
  • 400 address_invalid

All codes: Errors.