Treasury
Returns information about the treasury. For the IOTA Mainnet, the treasury holds the unmigrated tokens from the Legacy IOTA Mainnet.
Responses
200
Successful operation.
application/json
400
Unsuccessful operation: indicates that the provided data is invalid.
application/json
403
Unsuccessful operation: indicates that the endpoint is not available for public use.
application/json
500
Unsuccessful operation: indicates that an unexpected, internal server error happened which prevented the node from fulfilling the request.
application/json
503
Unsuccessful operation: indicates that the node is not synced.
application/json
get
GET /api/core/v2/treasury HTTP/1.1
Host: iota.nownodes.io
Accept: */*
{
"milestoneId": "0x733ed2810f2333e9d6cd702c7d5c8264cd9f1ae454b61e75cf702c451f68611d",
"amount": "133713371337"
}