System and service status operations
- Get list of supported blockchains
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.
Request
Returns a list of blockchains that are actively supported for monitoring and balance queries.
These are the blockchains where the system can track address balances, detect transactions, and send notifications about balance changes. While tokens can be sent on many blockchains, only those listed here have the infrastructure to monitor addresses and provide real-time updates.
Field to sort results by. Use "-" prefix for descending order
Performs a partial, case-insensitive match on blockchain name or short name fields.
Comma-separated list of chain families to include.
- Mock serverhttps://docs.vilna.io/_mock/apis/spec/blockchains
- Production environmenthttps://demo.vilna.app/v1/blockchains
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.vilna.io/_mock/apis/spec/blockchains?limit=20&page=1&sort_by=name&search=ethereum&families=evm%2Cbitcoin&is_active=true' \
-H 'X-Api-Key: YOUR_API_KEY_HERE'List of supported blockchains for monitoring and balance queries
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
URL to blockchain logo image
Unique identifier name for the blockchain (e.g., ethereum)
{ "items": [ { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … }, { … } ], "meta": { "limit": 20, "page": 1, "total": 50, "total_pages": 3 } }
Blockchain creation request
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
- Mock serverhttps://docs.vilna.io/_mock/apis/spec/blockchains
- Production environmenthttps://demo.vilna.app/v1/blockchains
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.vilna.io/_mock/apis/spec/blockchains \
-H 'Content-Type: application/json' \
-H 'X-Api-Key: YOUR_API_KEY_HERE' \
-d '{
"chain_gid": "eip155:1"
}'Successfully created blockchain
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
URL to blockchain logo image
{ "gid": "eip155:1", "image_url": "https://cdn.vilna.io/assets/eip155:1/logo.png", "name": "ethereum", "short_name": "eth", "is_active": true }
- Mock serverhttps://docs.vilna.io/_mock/apis/spec/blockchains/{chain_gid}
- Production environmenthttps://demo.vilna.app/v1/blockchains/{chain_gid}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.vilna.io/_mock/apis/spec/blockchains/eip155:1 \
-H 'X-Api-Key: YOUR_API_KEY_HERE'Successfully created blockchain
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
URL to blockchain logo image
{ "gid": "eip155:1", "image_url": "https://cdn.vilna.io/assets/eip155:1/logo.png", "name": "ethereum", "short_name": "eth", "is_active": true }
- Mock serverhttps://docs.vilna.io/_mock/apis/spec/blockchains/{chain_gid}/actions/activate
- Production environmenthttps://demo.vilna.app/v1/blockchains/{chain_gid}/actions/activate
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.vilna.io/_mock/apis/spec/blockchains/eip155:1/actions/activate \
-H 'X-Api-Key: YOUR_API_KEY_HERE'- Mock serverhttps://docs.vilna.io/_mock/apis/spec/blockchains/{chain_gid}/actions/deactivate
- Production environmenthttps://demo.vilna.app/v1/blockchains/{chain_gid}/actions/deactivate
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.vilna.io/_mock/apis/spec/blockchains/eip155:1/actions/deactivate \
-H 'X-Api-Key: YOUR_API_KEY_HERE'EVM blockchain RPC endpoint URL for API calls
- Mock serverhttps://docs.vilna.io/_mock/apis/spec/blockchains/{chain_gid}/evm
- Production environmenthttps://demo.vilna.app/v1/blockchains/{chain_gid}/evm
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://docs.vilna.io/_mock/apis/spec/blockchains/eip155:1/evm \
-H 'Content-Type: application/json' \
-H 'X-Api-Key: YOUR_API_KEY_HERE' \
-d '{
"endpoint_url": "https://ethereum-rpc.publicnode.com"
}'Successfully created blockchain
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
URL to blockchain logo image
{ "gid": "eip155:1", "image_url": "https://cdn.vilna.io/assets/eip155:1/logo.png", "name": "ethereum", "short_name": "eth", "is_active": true }
Solana blockchain RPC endpoint URL for API calls
- Mock serverhttps://docs.vilna.io/_mock/apis/spec/blockchains/{chain_gid}/solana
- Production environmenthttps://demo.vilna.app/v1/blockchains/{chain_gid}/solana
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://docs.vilna.io/_mock/apis/spec/blockchains/eip155:1/solana \
-H 'Content-Type: application/json' \
-H 'X-Api-Key: YOUR_API_KEY_HERE' \
-d '{
"endpoint_url": "https://solana-rpc.publicnode.com"
}'Successfully created blockchain
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
URL to blockchain logo image
{ "gid": "eip155:1", "image_url": "https://cdn.vilna.io/assets/eip155:1/logo.png", "name": "ethereum", "short_name": "eth", "is_active": true }
- Mock serverhttps://docs.vilna.io/_mock/apis/spec/blockchains/{chain_gid}/tron
- Production environmenthttps://demo.vilna.app/v1/blockchains/{chain_gid}/tron
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://docs.vilna.io/_mock/apis/spec/blockchains/eip155:1/tron \
-H 'Content-Type: application/json' \
-H 'X-Api-Key: YOUR_API_KEY_HERE' \
-d '{
"evm_endpoint_url": "https://evm-rpc.example.com"
}'Successfully created blockchain
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
URL to blockchain logo image
{ "gid": "eip155:1", "image_url": "https://cdn.vilna.io/assets/eip155:1/logo.png", "name": "ethereum", "short_name": "eth", "is_active": true }
- Mock serverhttps://docs.vilna.io/_mock/apis/spec/blockchains/{chain_gid}/bitcoin
- Production environmenthttps://demo.vilna.app/v1/blockchains/{chain_gid}/bitcoin
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://docs.vilna.io/_mock/apis/spec/blockchains/eip155:1/bitcoin \
-H 'Content-Type: application/json' \
-H 'X-Api-Key: YOUR_API_KEY_HERE' \
-d '{
"endpoint_url": "https://bitcoin-rpc.publicnode.com"
}'Successfully created blockchain
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
URL to blockchain logo image
{ "gid": "eip155:1", "image_url": "https://cdn.vilna.io/assets/eip155:1/logo.png", "name": "ethereum", "short_name": "eth", "is_active": true }
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" }