Get box information for a given application.
GET /v2/applications/{application-id}/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
Parameters
Path Parameters
An application identifier
Query Parameters
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
Box name and its content.
object
[name] box name, base64 encoded
The round for which this information is relevant
[value] box value, base64 encoded.
400
Bad Request
An error response with optional data field.
object
object
401
Invalid API Token
An error response with optional data field.
object
object
404
Box Not Found
An error response with optional data field.
object
object
500
Internal Error
An error response with optional data field.
object
object
default
Unknown Error