Skip to content
Gave

Sandbox

A simulated chain for your sandbox vault: deposits, withdrawals and claims, recorded as if confirmed on-chain. Not in production.

Read the sandbox vault

GET/v1/sandbox/vault

What your sandbox vault holds, per asset, and what's free: not reserved for rewards.

Responses

Deposit into the sandbox vault

POST/v1/sandbox/deposits

Records a deposit into your sandbox vault, as if confirmed on-chain, and sends a vault.deposit_confirmed webhook. Rewards are reserved from the vault, so fund it first; rewards waiting for funds are paid from a deposit, oldest first. The same reference again, unchanged, changes nothing.

Request Body

application/json
referenceRequired
string·min 1·max 128
amountRequired
object

Responses

Withdraw from the sandbox vault

POST/v1/sandbox/withdrawals

Records a withdrawal of free money from your sandbox vault, and sends a vault.withdrawal_confirmed webhook. Money reserved for rewards can't be withdrawn.

Request Body

application/json
referenceRequired
string·min 1·max 128
amountRequired
object

Responses

Simulate a claim

POST/v1/sandbox/claims

Records your vault paying a user part or all of what they can claim, as if confirmed on-chain. Their claimable rewards are paid oldest first, and each sends a reward.claimed webhook. Applied in order with the user's spend events, right after the answer.

Request Body

application/json
referenceRequired
string·min 1·max 128
userIdRequired
string·min 1·max 128
amountRequired
object

Responses