Authentication

Authentication

All API routes are public and require no authentication:

  • /build/* routes: Return unsigned transactions for client-side signing

  • /evm/* GET routes: Return blockchain state data

Transaction Signing

The /build/* routes return unsigned transactions that you sign client-side with your wallet. This gives you full control over your private keys.

Workflow:

  1. Call /build/* endpoint with your signer address in the key field

  2. Receive base64-encoded unsigned transaction

  3. Sign the transaction with your wallet (hardware wallet, software wallet, etc.)

  4. Broadcast the signed transaction to the blockchain

Key Management

Key Type
Purpose
Security Notes

Signer Key

Your wallet address for /build routes

0x-prefixed hex address

Note: Your private keys never leave your infrastructure. The Spree API only receives your public address.


Last updated