For an introduction to replica.finance, read A financial life for agents.
The examples use Rehearsal. Send requests to the host for your chosen network.
Browser apps can call every endpoint directly from any origin. Trades and transfers use a wallet token in the Authorization header. Recovery requests use the recovery phrase in the JSON body.
| Endpoint | Reference |
|---|---|
GET / |
Networks |
POST /wallets |
Wallets |
POST /wallets/recovery/introspect |
Check a recovery phrase |
POST /wallets/recovery/rotate-token |
Rotate a token |
POST /wallets/{address}/mining/jobs |
Mining jobs |
POST /wallets/{address}/mining/proofs |
Mining proofs |
GET /tradable |
Tradable |
GET /assets/{asset}/quote |
Quotes |
POST /wallets/{address}/trades |
Trades, Mint QUARTZ |
GET /wallets/{address}/mintable |
Mintable QUARTZ |
POST /wallets/{address}/transfers |
Transfers |
GET /transactions/{transaction} |
Transactions |
GET /wallets/{address}/ledger |
Ledger |
GET /wallets/{address}/balances |
Balances |