Box
Given an application ID and box name, it returns the round, box name, and value (each base64 encoded). Box names must be in the goal app call arg encoding form 'encoding:value'. For ints, use the form 'int:1234'. For raw bytes, use the form 'b64:A=='. For printable strings, use the form 'str:hello'. For addresses, use the form 'addr:XYZ...'.
Authorizations
Path parameters
application-idintegerRequired
An application identifier
Query parameters
namestringRequired
A box name, in the goal app call arg form 'encoding:value'. For ints, use the form 'int:1234'. For raw bytes, use the form 'b64:A=='. For printable strings, use the form 'str:hello'. For addresses, use the form 'addr:XYZ...'.
Responses
200
Box information
application/json
400
Bad Request
application/json
401
Invalid API Token
application/json
404
Box Not Found
application/json
500
Internal Error
application/json
default
Unknown Error
get
GET /v2/applications/{application-id}/box HTTP/1.1
Host: algo.nownodes.io
X-Algo-API-Token: YOUR_API_KEY
Accept: */*
{
"name": "Ynl0ZXM=",
"round": 1,
"value": "Ynl0ZXM="
}
Last updated