Transfers

Asset transfers from trading to consumption accounts. Transfers are one-way.

Transfer to consumption

post

Transfers a specified quantity of an instrument from trading account to consumption account.

Authorizations
x-thegrid-signaturestringRequired

Ed25519 signature authentication. All three headers are required for every request:

Header Description
x-thegrid-signature Base64-encoded Ed25519 signature of {timestamp}{METHOD}{path}{body}
x-thegrid-timestamp Unix timestamp in seconds (must be within 30 seconds of server time)
x-thegrid-fingerprint SHA256 hash of your public key (Base64-encoded, padding stripped)

See full authentication docs

Body
instrument_idstringRequired

The instrument to transfer from your trading account to your consumption account

Example: instrument_c18a986c-522b-475a-b319-f2d0ba04a64d
quantityinteger · min: 1Required

Number of units to transfer. Must have sufficient available balance in your trading account.

Example: 100
Responses
post
/trading/transfers/trading-to-consumption
202

Transfer initiated (processed asynchronously)

List transfer history

get

Returns transfer histories for authenticated user.

Authorizations
x-thegrid-signaturestringRequired

Ed25519 signature authentication. All three headers are required for every request:

Header Description
x-thegrid-signature Base64-encoded Ed25519 signature of {timestamp}{METHOD}{path}{body}
x-thegrid-timestamp Unix timestamp in seconds (must be within 30 seconds of server time)
x-thegrid-fingerprint SHA256 hash of your public key (Base64-encoded, padding stripped)

See full authentication docs

Query parameters
market_idstringOptional

Filter by market ID

instrument_idstringOptional

Filter by instrument ID

start_datetimestring · date-timeOptional

Filter transfers at or after this time (ISO8601 or Unix timestamp)

end_datetimestring · date-timeOptional

Filter transfers at or before this time (ISO8601 or Unix timestamp)

order_bystring · enumOptional

Field to sort by

Possible values:
order_directionstring · enumOptional

Sort direction

Default: ascPossible values:
nextstringOptional

Cursor for forward pagination. Pass the next_cursor value from a previous response to fetch the next page. Mutually exclusive with prev.

prevstringOptional

Cursor for backward pagination. Pass the prev_cursor value from a previous response to fetch the previous page. Mutually exclusive with next.

limitinteger · max: 100Optional

Number of items to return per page (max: 100)

Default: 50
Responses
chevron-right
200

Transfer history

application/json
get
/trading/transfer-histories
200

Transfer history

Last updated

Was this helpful?