SET Crypto API Suite · Senders and screening
The text a wallet signs to prove it is yours
GET/v1/senders/message
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"requiredbase,ethereumorsolana; with expanded routes on, alsoarbitrum,avalanche_c_chain,celo,optimismandpolygon. Missing or another, it answers400 chain_invalid.addressstringrequired- The wallet:
0x+ 40 hex on an EVM chain, base58 of 32 to 44 characters on Solana. Missing or malformed, it answers400 address_invalid.
Notes
- Direct Deposit is switched on per deployment; until then
503 direct_deposit_disabled. - Needs the
readscope; the key needs nodirect_depositscope. - A platform account. A business account answers
409 merchant_no_sendersuntil SET switches business senders on. GET /v1/senders/messageneeds bothchainandaddress.- Sign
messageexactly as returned and send it toPOST /v1/senderswith the sameissuedAtbeforeexpiresAt, one hour later. addressis echoed lowercase on an EVM chain and exact case on Solana.signWithsays how to sign: on Solana,signMessage(Ed25519 over the message's UTF-8 bytes), sent as base58 or0xhex. A program-owned payer (a PDA or multisig vault) cannot sign: ask SET to register it.- The answer has no
objectorsandboxfield. - 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_senders503 direct_deposit_disabled400 chain_invalid400 address_invalid