Scope NAV
Blockvault Scope Nav (v1.0.0)
Download OpenAPI specification:Download
API Documentation for Blockvault Scope Nav
Get net asset value
Authorizations:
BearerAuth
path Parameters
required | string or string (ScopeId) Scope identifier |
Responses
NUVA Labs API Server
https://api.provlabs.com/metadata/scope/{id}/nav
Response samples
- 200
- 400
- 401
- 404
Content type
application/json
{- "usd": {
- "price": {
- "amount": "1234",
- "denom": "usd"
}, - "updated_block_height": 24572750
}, - "net_asset_values": [
- {
- "price": {
- "amount": "1234",
- "denom": "usd"
}, - "updated_block_height": 24572750
}, - {
- "price": {
- "amount": "12000000000000",
- "denom": "nhash"
}, - "updated_block_height": 22918128
}
]
}Add net asset value
Authorizations:
BearerAuth
path Parameters
required | string or string (ScopeId) Scope identifier |
Request Body schema: application/jsonrequired
required | object (Nav) | ||||||||
| |||||||||
Responses
NUVA Labs API Server
https://api.provlabs.com/metadata/scope/{id}/nav
Request samples
- Payload
Content type
application/json
{- "net_asset_value": {
- "price": {
- "amount": "10000000000000",
- "denom": "nhash"
}
}
}Response samples
- 201
- 400
- 401
- 404
Content type
application/json
{- "tx_hash": "3ea1b237f303455d1e7c04fc128168cf9a6b903759b8b06bc05315e9333da1ae",
- "height": 18621389
}