Skip to main content
Skip to main content

Balances API

warning

The Silhouette REST API v1 spec is in beta and may change as RFQ workflows evolve.

Private account balance state.

Operations

EndpointOperation IDSummaryAuth
GET /v1/rfq/balancesgetBalancesGet balances.HMAC
GET /v1/rfq/ledgergetLedgerGet the account ledger.HMAC

Get balances

GET /v1/rfq/balances

FieldValue
Operation IDgetBalances
AuthenticationHMAC

Returns the signed account's token balances.

Parameters

None.

Request body

None.

Responses

StatusDescriptionSchema
200Balances for the signed account.GetBalancesResponse
401Unauthorized: missing or expired credentials, or an unknown access key.ErrorResponse
403Forbidden: the access key is recognised but the request signature does not match the HMAC the gateway recomputes over the received request.ErrorResponse
500Internal server error.ErrorResponse

Get the account ledger

GET /v1/rfq/ledger

FieldValue
Operation IDgetLedger
AuthenticationHMAC

Returns the signed account's recent ledger entries - the append-only audit rows behind every balance change (deposit, fill, withdrawal, adjustment), newest first. A reconciliation surface for auditing balance movements.

Parameters

None.

Request body

None.

Responses

StatusDescriptionSchema
200The account's recent ledger entries.GetLedgerResponse
401Unauthorized: missing or expired credentials, or an unknown access key.ErrorResponse
403Forbidden: the access key is recognised but the request signature does not match the HMAC the gateway recomputes over the received request.ErrorResponse
500Internal server error.ErrorResponse