Get the foundry output
GET/v1/chains/:chainID/core/accounts/foundry_output/:serialNumber
Get the foundry output
Request
Path Parameters
chainID stringrequired
ChainID (Bech32)
serialNumber int32required
Possible values: >= 1
Serial Number (uint32)
Query Parameters
block string
Block index or trie root
Responses
- 200
- 401
The foundry output
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
assets AssetsResponserequired
baseTokens stringrequired
The base tokens (uint64 as string)
nativeTokens NativeTokenJSON[]required
amount stringrequired
id stringrequired
foundryId stringrequired
{
"assets": {
"baseTokens": "baseTokens",
"nativeTokens": [
{
"amount": "amount",
"id": "id"
},
{
"amount": "amount",
"id": "id"
}
]
},
"foundryId": "foundryId"
}
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
Loading...