Storm Trade
EN
EnglishРусскийNot available
Menu
On this page

Get the next query ID

Try it out ↓
GET/v3-node-0/smartaccount/{address}/queryID
Get the next query IDSmart accounts

Returns the next available query ID for a smart account

Base URL https://api.storm.tg

Parameters

Path
addressstringrequired

Smart account address

Example: string

Examples

curl --request GET 'https://api.storm.tg/v3-node-0/smartaccount/{address}/queryID' \
  --header 'Accept: application/json'

Responses

200OKapplication/json
executor_query_idintegeroptional

ExecutorQueryID is the current executor query-id counter for the SA — the next bundle leases at or above it (reconciled against the on-chain used set).

Example: 0
max_live_query_idintegeroptional

MaxLiveQueryID is the highest query-id among the SA's live bundles, omitted when it has none.

Example: 0
query_idintegeroptional
Example: 0
400Bad Requestapplication/json
codestringoptional
Example: string
errorstringoptional
Example: string
externalQueryIdstringoptional
Example: string
msgstringoptional
Example: string
404Not Foundapplication/json
codestringoptional
Example: string
errorstringoptional
Example: string
externalQueryIdstringoptional
Example: string
msgstringoptional
Example: string
500Internal Server Errorapplication/json
codestringoptional
Example: string
errorstringoptional
Example: string
externalQueryIdstringoptional
Example: string
msgstringoptional
Example: string