Skip to main content
GET
/
user
/
wallet
/
blockhash
Get Blockhash
curl --request GET \
  --url https://api.totalis.trade/user/wallet/blockhash \
  --header 'TOTALIS_API_KEY: <api-key>'
{
  "blockhash": "<string>",
  "lastValidBlockHeight": 123
}

Authorizations

TOTALIS_API_KEY
string
header
required

API key for programmatic access. Generate from the Totalis Dashboard. Format: api_live_xxxxxxxxxxxxxxxxxxxxx. Supported for REST API and WebSocket.

Response

Latest blockhash

blockhash
string
lastValidBlockHeight
integer