Skip to main content
POST
Fund a sandbox wallet from the testnet faucet

Authorizations

x-api-key
string
header
required

Headers

x-idempotency-key
string<uuid>
required

Unique key (UUID) to ensure request idempotency on POST, PUT and PATCH requests.

A key is scoped to your client, the HTTP method and the path, and is remembered for 24 hours after a successful (below 400) response. Repeating the same request (same JSON body, whatever the key order or whitespace) with the same key within that window returns the original response with X-Idempotent-Replayed: true instead of executing the request again. Using the same key on the same endpoint with a different body returns 422 with problem type idempotency-key-reused; the request is not executed. Error responses (4xx and 5xx) are not remembered, so a request refused for a fixable reason can be corrected and retried under the same key. Request bodies that are not JSON (for example file uploads) are not compared.

Path Parameters

wallet_id
string
required

Wallet to fund. KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.

Required string length: 27
Pattern: ^[0-9A-Za-z]{27}$
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

Body

application/json

A request to fund a sandbox wallet from the testnet float.

amount
string
required

Amount in decimal token units. Capped by the sandbox per-transaction limit.

Example:

"2.00"

asset
enum<string>
default:RD

Asset to fund. Only RD is served today; the field exists so a second asset can be added once a float exists for it.

Available options:
RD
Example:

"RD"

Response

Faucet transfer accepted

An accepted faucet transfer.

simulation_id
string
required

Simulation identifier. Resolve it with GET /sandbox/simulations/{simulation_id}.

wallet_id
string
required

KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.

Required string length: 27
Pattern: ^[0-9A-Za-z]{27}$
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

asset
string
required

Asset that was sent.

Example:

"RD"

amount
string
required

Amount that was sent, in decimal token units.

Example:

"2.00"

status
enum<string>
required

State of a sandbox simulation after submission.

Available options:
accepted
tx_hash
string

Reserved for the on-chain transaction hash. The faucet answers before the transfer has one, so the accepted response does not carry it. Do not depend on this field; poll GET /sandbox/simulations/{simulation_id} for the outcome.