Gyvar docs

List balances

The project's per-asset wallet balances. Not paginated - the set is the asset catalog, and assets at zero are included. This is the authority for balance. Summing the transaction feed gives a different, wrong number: a failed payment is one row there with zero balance impact.

GET
/balances

Authorization

KeyID Timestamp Nonce Signature
X-Gyvar-Key<token>

Your key id, gyv_k_live_... or gyv_k_sandbox_....

In: header

X-Gyvar-Timestamp<token>

Unix seconds. Must be within 5 minutes of our clock.

In: header

X-Gyvar-Nonce<token>

A unique value per request. Replays are rejected.

In: header

X-Gyvar-Signature<token>

Ed25519 signature over the canonical string. See the Signing guide.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/balances"
{  "data": [    {      "currency": "USDT",      "decimals": 6,      "amount": "120.500000",      "amount_minor": "120500000"    }  ]}