System and service status operations
Vilna API (1.0.0)
Welcome to the Vilna API Reference. This is the complete OpenAPI specification for all API endpoints.
Quick Links
- API Overview - Introduction and concepts
- Security Guide - Authentication and webhook verification
- CAIP Standards - Asset identification standards
- Quick Start Guide - Step-by-step integration tutorial
API Endpoints
Asset Management
- Assets - Discover and manage digital assets
Address Operations
- Addresses - Manage blockchain addresses
- Extended Public Keys - HD wallet management
Monitoring and Notifications
- Transactions - Transaction monitoring
System
- Blockchains - Information on supported blockchains
- System Status - Health checks and version info
Need Help?
Visit our documentation portal for detailed guides and examples.
Field to sort results by. Use "-" prefix for descending order
Comma-separated list of chain GIDs to filter blocks by.
Comma-separated list of block statuses to include.
- Mock serverhttps://docs.vilna.io/_mock/apis/spec/blocks
- Production environmenthttps://demo.vilna.app/v1/blocks
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.vilna.io/_mock/apis/spec/blocks?page=1&limit=20&sort_by=number&chain_gids=eip155%3A1%2Ceip155%3A137&statuses=confirmed%2Cprocessed&from_block=18500000&to_block=18500100' \
-H 'X-Api-Key: YOUR_API_KEY_HERE'List of blockchain blocks with their processing status
Blockchain identifier according to CAIP-2.
The chain_gid is a case-sensitive string uniquely identifying a blockchain. It is composed of:
- namespace — a short identifier describing an ecosystem or standard (e.g.
eip155,cosmos) - reference — an identifier for a specific blockchain within that namespace
Syntax
chain_id = namespace ":" reference
namespace = [-a-z0-9]{3,8}
reference = [-_a-zA-Z0-9]{1,32}Examples
eip155:1— Ethereum mainneteip155:56— Binance Smart Chaincosmos:cosmoshub-4— Cosmos Hub mainnetbip122:000000000019d6689c085ae165831e93— Bitcoin mainnet
Block hash identifier unique per blockchain (null if not yet fetched)
Current processing status of the block:
new: Block has been discovered but not yet fetchedprocessed: Block transactions have been analyzed and storedconfirmed: Block has reached minimum required confirmationsreorged: Block has been reorganized (chain reorg occurred)
{ "items": [ { … }, { … }, { … }, { … } ], "meta": { "limit": 20, "page": 1, "total": 18500001, "total_pages": 925001 } }
- Mock serverhttps://docs.vilna.io/_mock/apis/spec/blocks/{chain_gid}/{block_number}
- Production environmenthttps://demo.vilna.app/v1/blocks/{chain_gid}/{block_number}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.vilna.io/_mock/apis/spec/blocks/eip155:1/18500000 \
-H 'X-Api-Key: YOUR_API_KEY_HERE'Single blockchain block
Blockchain identifier according to CAIP-2.
The chain_gid is a case-sensitive string uniquely identifying a blockchain. It is composed of:
- namespace — a short identifier describing an ecosystem or standard (e.g.
eip155,cosmos) - reference — an identifier for a specific blockchain within that namespace
Syntax
chain_id = namespace ":" reference
namespace = [-a-z0-9]{3,8}
reference = [-_a-zA-Z0-9]{1,32}Examples
eip155:1— Ethereum mainneteip155:56— Binance Smart Chaincosmos:cosmoshub-4— Cosmos Hub mainnetbip122:000000000019d6689c085ae165831e93— Bitcoin mainnet
Block hash identifier unique per blockchain (null if not yet fetched)
Current processing status of the block:
new: Block has been discovered but not yet fetchedprocessed: Block transactions have been analyzed and storedconfirmed: Block has reached minimum required confirmationsreorged: Block has been reorganized (chain reorg occurred)
{ "chain_gid": "eip155:1", "number": 18500000, "hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef", "status": "confirmed" }