Get one faucet drip's status
GET
/sandbox/faucet/{id}
const url = 'https://example.com/v2/sandbox/faucet/example';const options = {method: 'GET', headers: {'X-CowriePay-Key': '<X-CowriePay-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v2/sandbox/faucet/example \ --header 'X-CowriePay-Key: <X-CowriePay-Key>'Sandbox only. One drip with its per-asset items (txid once broadcast, error_message on failure). 404 for an unknown id, including a drip that belongs to another workspace.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”The drip.
Media typeapplication/json
A sandbox faucet drip and its per-asset items. Item txid is set once the item is broadcast on-chain (watch the matching deposit land with it); item error_message says why an item failed. Drip status aggregates the items (PARTIAL = some confirmed, some failed).
object
drip_id
string
status
string
chain
Full chain name (always a *_TESTNET chain: drips are sandbox-only).
string
address
The funded sandbox wallet address.
string
created_at
string format: date-time
updated_at
string format: date-time
items
Array<object>
object
asset
string
amount
Human-readable units.
string
status
string
txid
On-chain transaction id once broadcast; null before.
string | null
error_message
Why the item failed; null unless FAILED.
string | null
Example
{ "status": "PENDING", "items": [ { "status": "PENDING" } ]}Live key used (code FAUCET_ONLY_SANDBOX) or insufficient scope.
Drip not found (or not yours).