System and service status operations
Vilna API (1.0.0)
Добро пожаловать в справочник Vilna API. Это полная спецификация OpenAPI для всех endpoints API.
Быстрые ссылки
- Обзор API - Введение и концепции
- Руководство по безопасности - Аутентификация и верификация webhook
- Стандарты CAIP - Стандарты идентификации активов
- Руководство быстрого старта - Пошаговая инструкция интеграции
API Endpoints
Управление активами
- Активы - Обнаружение и управление цифровыми активами
Операции с адресами
- Адреса - Управление блокчейн-адресами
- Расширенные публичные ключи - Управление HD кошельками
- Поддержка массовых операций
Мониторинг и уведомления
- Каналы - Настройка endpoints для уведомлений
- Подписки - Управление подписками на события
- Транзакции - Мониторинг транзакций
Система
- Блокчейны - Информация о поддерживаемых блокчейнах
- Системный статус - Проверка здоровья и информация о версии
Нужна помощь?
Посетите наш портал документации для подробных руководств и примеров.
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/ru/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/ru/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/ru/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/ru/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" }