{"id":22072621,"url":"https://github.com/broxus/everscale-jrpc","last_synced_at":"2025-07-18T16:06:26.187Z","repository":{"id":66355143,"uuid":"524993010","full_name":"broxus/everscale-jrpc","owner":"broxus","description":"Light node JRPC module","archived":false,"fork":false,"pushed_at":"2025-05-30T12:08:59.000Z","size":573,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-07-01T04:05:38.039Z","etag":null,"topics":["blockchain","venom-blockchain","venom-developer-program","venom-service"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/broxus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-08-15T13:13:43.000Z","updated_at":"2025-05-30T12:09:03.000Z","dependencies_parsed_at":"2023-06-08T06:45:31.770Z","dependency_job_id":"1988cde2-7ac5-42e2-94bd-c7de4229f04e","html_url":"https://github.com/broxus/everscale-jrpc","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/broxus/everscale-jrpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broxus%2Feverscale-jrpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broxus%2Feverscale-jrpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broxus%2Feverscale-jrpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broxus%2Feverscale-jrpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/broxus","download_url":"https://codeload.github.com/broxus/everscale-jrpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broxus%2Feverscale-jrpc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265791685,"owners_count":23829164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","venom-blockchain","venom-developer-program","venom-service"],"created_at":"2024-11-30T21:13:57.519Z","updated_at":"2025-07-18T16:06:26.146Z","avatar_url":"https://github.com/broxus.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/venom-blockchain/developer-program\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/venom-blockchain/developer-program/main/vf-dev-program.png\" alt=\"Logo\" width=\"366.8\" height=\"146.4\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\n## Everscale JRPC module\n\nThis module implements a JSON-RPC (JRPC) light server protocol\nfor the Everscale/Venom blockchains.\n\n### Contents\n\n- [`everscale-rpc-models`](./models) - models used on servers and clients.\n- [`everscale-rpc-proto`](./proto) - Protobuf models used for binary transport.\n- [`everscale-rpc-server`](./server) - module implementation.\n- [`everscale-rpc-client`](./client/README.md) - JRPC client implementation.\n- [`everscale-rpc-node`](./node/README.md) - a simple light node with the JRPC module.\n\n## Methods\n\n- [`getCapabilities`](#getcapabilities)\n- [`getLatestKeyBlock`](#getlatestkeyblock)\n- [`getBlockchainConfig`](#getblockchainconfig)\n- [`getStatus`](#getstatus)\n- [`getTimings`](#gettimings)\n- [`getContractState`](#getcontractstate)\n- [`getLibraryCell`](#getlibrarycell)\n- [`sendMessage`](#sendmessage)\n- [`getTransactionsList`](#gettransactionslist)\n- [`getTransaction`](#gettransaction)\n- [`getDstTransaction`](#getdsttransaction)\n- [`getAccountsByCodeHash`](#getaccountsbycodehash)\n\n### `getCapabilities`\n\nReturns a list of supported methods of the node\n\n**Request:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"method\": \"getCapabilities\",\n  \"params\": {}\n}\n```\n\n**Response:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"result\": string[], // List of supported methods\n}\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eExample\u003c/summary\u003e\n\n  **Request:**\n  ```bash\n  curl -X POST -H \"Content-Type: application/json\" https://jrpc.everwallet.net -d '{\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"method\": \"getCapabilities\",\n    \"params\": {}\n  }'\n  ```\n\n  **Response:**\n  ```json\n  {\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"result\": [\n      \"getCapabilities\",\n      \"getLatestKeyBlock\",\n      \"getBlockchainConfig\",\n      \"getStatus\",\n      \"getTimings\",\n      \"getContractState\",\n      \"sendMessage\",\n      \"getTransactionsList\",\n      \"getTransaction\",\n      \"getDstTransaction\",\n      \"getAccountsByCodeHash\"\n    ]\n  }\n  ```\n\u003c/details\u003e\n\n---\n\n### `getLatestKeyBlock`\n\nRetrieves the latest key block from the blockchain.\n\n**Request:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"method\": \"getLatestKeyBlock\",\n  \"params\": {}\n}\n```\n\n**Response:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"result\": {\n    \"block\": string // Base64 encoded key block\n  }\n}\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eExample\u003c/summary\u003e\n\n  **Request:**\n  ```bash\n  curl -X POST -H \"Content-Type: application/json\" https://jrpc.everwallet.net -d '{\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"method\": \"getLatestKeyBlock\",\n    \"params\": {}\n  }'\n  ```\n\n  **Response:**\n  ```json\n  {\n    \"jsonrpc\":\"2.0\",\n    \"id\": 1,\n    \"result\":{\n      \"block\":\"te6ccgICBN4AAQAAs...V5kdk/9OjYskr9go=\"\n    }\n  }\n  ```\n\u003c/details\u003e\n\n---\n\n### `getBlockchainConfig`\n\nRetrieves the latest blockchain config from the blockchain.\n\n**Request:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"method\": \"getBlockchainConfig\",\n  \"params\": {}\n}\n```\n\n**Response:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"result\": {\n    \"globalId\": number, // Network id\n    \"config\": string // Base64 encoded config params\n  }\n}\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eExample\u003c/summary\u003e\n\n  **Request:**\n  ```bash\n  curl -X POST -H \"Content-Type: application/json\" https://jrpc.everwallet.net -d '{\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"method\": \"getBlockchainConfig\",\n    \"params\": {}\n  }'\n  ```\n\n  **Response:**\n  ```json\n  {\n    \"jsonrpc\":\"2.0\",\n    \"id\":1,\n    \"result\":{\n      \"globalId\": 42,\n      \"config\": \"te6ccgICAQQAAQAAH6w...VVVVVVVVVVVV\"\n    }\n  }\n  ```\n\u003c/details\u003e\n\n---\n\n### `getStatus`\n\nReturns a node JRPC module status.\n\n\u003e Not applicable to public endpoint\n\n**Request:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"method\": \"getStatus\",\n  \"params\": {}\n}\n```\n\n**Response:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"result\": {\n    \"ready\": boolean, // Whether the JRPC module is ready\n  }\n}\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eExample\u003c/summary\u003e\n\n  **Request:**\n  ```bash\n  curl -X POST -H \"Content-Type: application/json\" https://jrpc.everwallet.net -d '{\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"method\": \"getStatus\",\n    \"params\": {}\n  }'\n  ```\n\n  **Response:**\n  ```json\n  {\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"result\": {\n      \"ready\": true\n    }\n  }\n  ```\n\u003c/details\u003e\n\n---\n\n### `getTimings`\n\nReturns node state timings.\n\n\u003e Not applicable to public endpoint\n\n**Request:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"method\": \"getTimings\",\n  \"params\": {}\n}\n```\n\n**Response:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"result\": {\n    \"last_mc_block_seqno\": number, // Number of the latest known masterchain block\n    \"last_shard_client_mc_block_seqno\": number, // Number of the latest fully processed masterchain block\n    \"last_mc_utime\": number, // Unix timestamp of the latest known masterchain block\n    \"mc_time_diff\": number, // Lag of the latest known masterchain block\n    \"shard_client_time_diff\": number, // Lag of the latest fully processed masterchain block\n  }\n}\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eExample\u003c/summary\u003e\n\n  **Request:**\n  ```bash\n  curl -X POST -H \"Content-Type: application/json\" https://jrpc.everwallet.net -d '{\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"method\": \"getTimings\",\n    \"params\": {}\n  }'\n  ```\n\n  **Response:**\n  ```json\n  {\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"result\": {\n      \"last_mc_block_seqno\": 13501208,\n      \"last_shard_client_mc_block_seqno\": 13501208,\n      \"last_mc_utime\": 1687966105,\n      \"mc_time_diff\": 3,\n      \"shard_client_time_diff\": 5\n    }\n  }\n  ```\n\u003c/details\u003e\n\n---\n\n### `getLibraryCell`\n\nRetrieves library cell by its representation hash.\n\n**Request:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"method\": \"getLibraryCell\",\n  \"params\": {\n    \"hash\": string // hex encoded 32 bytes of cell representation hash\n  }\n}\n```\n\n**Response:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"result\": {\n    \"cell\": string, // Base64 encoded boc\n  }\n}\n```\n\n---\n\n### `getContractState`\n\nRetrieves the state of an account at the specific address.\n\n**Request:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"method\": \"getContractState\",\n  \"params\": {\n    \"address\": string // Contract address\n  }\n}\n```\n\n**Response:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"result\": {\n    \"type\": \"notExists\"\n  } | {\n    \"type\": \"exists\",\n    \"account\": string, // Base64 encoded account state (AccountStuff model)\n    \"lastTransactionId\": {\n      \"isExact\": boolean,\n      \"hash\": string, // Hex encoded transaction hash\n      \"lt\": string, // Transaction logical time (u64)\n    },\n    \"timings\": {\n      \"genLt\": string, // Logical time of the shard state for the requested account\n      \"genUtime\": number, // Unix timestamp of the shard state for the requested account\n    }\n  }\n}\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eExample\u003c/summary\u003e\n\n  **Request:**\n  ```bash\n  curl -X POST -H \"Content-Type: application/json\" https://jrpc.everwallet.net -d '{\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"method\": \"getContractState\",\n    \"params\": {\n      \"address\": \"-1:3333333333333333333333333333333333333333333333333333333333333333\"\n    }\n  }'\n  ```\n\n  **Response:**\n  ```json\n  {\n    \"jsonrpc\": \"2.0\",\n    \"id\":1,\n    \"result\": {\n      \"type\": \"exists\",\n      \"account\": \"te6ccgICA94AAQAA...9AT6ANMf0//R\",\n      \"lastTransactionId\": {\n        \"isExact\":true,\n        \"lt\":\"39526989000002\",\n        \"hash\":\"55d7913633ba7d6c9d10228a0ce1586415c781ae855cbd8df4a272683cd86030\"\n      },\n      \"timings\": {\n        \"genLt\": \"39526989000002\",\n        \"genUtime\": 1687964202\n      }\n    },\n  }\n  ```\n\u003c/details\u003e\n\n---\n\n### `getAccountsByCodeHash`\n\nRetrieves a sorted list of addresses for contracts with the specified code hash.\n\nUse the last address from the list for the `continuation`.\n\n\u003e Requres the full API mode\n\n**Request:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"method\": \"getAccountsByCodeHash\",\n  \"params\": {\n    \"codeHash\": string, // Hex encoded code hash\n    \"limit\": number, // Max number of items in response (at most 100)\n    \"continuation\": string | undefined, // Optional address as a continuation (\u003e)\n  },\n  \"id\": 1\n}\n```\n\n**Response:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"result\": string[], // List of addresses\n}\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eExample\u003c/summary\u003e\n\n  **Request:**\n  ```bash\n  curl -X POST -H \"Content-Type: application/json\" https://jrpc.everwallet.net -d '{\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"method\": \"getAccountsByCodeHash\",\n    \"params\": {\n      \"codeHash\": \"9c1018fd3cca838d90d60f1ff5ac1c7648f3a854c70b769b2eebae8d3854722b\",\n      \"limit\": 100\n    }\n  }'\n  ```\n\n  **Response:**\n  ```json\n  {\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"result\": [\n      \"0:02ccc13022392b30ee4ffd3cdb8910ce7698a9e98deb1f4c47519a69079780f2\",\n      \"0:09f9d103e4db8c0c4d950480ac4ce508a09ce463ec1ab0a5beec63f235b75039\",\n      \"0:10ab10aec7fe23cad95e369e581a87d6d04cfbc27014e6ed051028dfadc8b447\",\n      \"0:3b9788bd584863221e665e237614d7668ca85c3fef001697df75bc4487dd60b3\",\n      \"0:6743e9f3c9bb3370da013a5c4e85fdd8f92c1d99223d54d6948dc3278b1bd280\",\n      \"0:7dba04bc2c1e8bec852595db8208c089063829bb76867f33770c1a86959de396\",\n      \"0:a7b82ea9b68bb07730f09c580fa1a8a973e9aa6ae55fd5af2cbde3d8a5c6bf0e\",\n      \"0:e6b79f7783d7c02bddbb858670e6dff58c997b646f33f97eabbd38d558424ed6\",\n      \"0:f525f80bff5b6eaae047fd679403ca0dac3e5a4ce221f9b89beb06f5fbb9c899\",\n      \"0:ff22424953f5b51d0029a930b09cb949a639fdeaefda48ec990f51c46a743141\"\n    ]\n  }\n  ```\n\u003c/details\u003e\n\n---\n\n### `getTransactionsList`\n\nRetrieves a list of raw transactions in the descending order.\n\nUse the `prevTransactionLt` the last transaction in the list for the `continuation`.\n\n\u003e Requres the full API mode\n\n**Request:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"method\": \"getTransactionsList\",\n  \"params\": {\n    \"account\": string, // Account address\n    \"limit\": number, // Max number of items in response (at most 100)\n    \"lastTransactionLt\": string | undefined, // Optional logical time to start from (\u003e=)\n  }\n}\n```\n\n**Response:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"result\": string[], // List of base64 encoded transactions\n}\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eExample\u003c/summary\u003e\n\n  **Request:**\n  ```bash\n  curl -X POST -H \"Content-Type: application/json\" https://jrpc.everwallet.net -d '{\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"method\": \"getTransactionsList\",\n    \"params\": {\n      \"account\": \"-1:3333333333333333333333333333333333333333333333333333333333333333\",\n      \"limit\": 10\n    }\n  }'\n  ```\n\n  **Response:**\n  ```json\n  {\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"result\": [\n      \"te6ccgECBwEAAYk...AMk4nHRA\",\n      \"te6ccgECBgEAASw...ybpEAAEg\",\n      \"te6ccgECBwEAAYk...gMk4nG5A\",\n      \"te6ccgECBgEAASw...omdqAAEg\",\n      \"te6ccgECBwEAAYk...AMk4nGpA\",\n      \"te6ccgECBgEAASw...+qa1AAEg\",\n      \"te6ccgECBwEAAYk...gMk4nGRA\",\n      \"te6ccgECBgEAASw...BbJmAAEg\",\n      \"te6ccgECBwEAAYk...fMk4nFxA\",\n      \"te6ccgECBgEAASw...SZ2RAAEg\"\n    ],\n    \"id\": 1\n  }\n  ```\n\u003c/details\u003e\n\n---\n\n### `getTransaction`\n\nSearches for a transaction by the id.\n\n\u003e Requres the full API mode\n\n**Request:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"method\": \"getTransaction\",\n  \"params\": {\n    \"id\": string, // Hex encoded transaction hash\n  }\n}\n```\n\n**Response:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"result\": string | undefined, // Optional base64 encoded transaction\n}\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eExample\u003c/summary\u003e\n\n  **Request:**\n  ```bash\n  curl -X POST -H \"Content-Type: application/json\" https://jrpc.everwallet.net -d '{\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"method\": \"getTransaction\",\n    \"params\": {\n      \"id\": \"26380563b9df3833d73574a93e9c5f833118561d821d08da44fa2d8549c90cbc\"\n    }\n  }'\n  ```\n\n  **Response:**\n  ```json\n  {\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"result\": \"te6ccgECBw...t1AMk4nk5A\"\n  }\n  ```\n\u003c/details\u003e\n\n---\n\n### `getDstTransaction`\n\nSearches for a transaction by the id of an incoming message.\n\n\u003e Requres the full API mode\n\n**Request:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"method\": \"getDstTransaction\",\n  \"params\": {\n    \"messageHash\": string, // Hex encoded message hash\n  }\n}\n```\n\n**Response:**\n```typescript\n{\n  \"jsonrpc\":\"2.0\",\n  \"id\": number, // Request id\n  \"result\": string | undefined, // Optional base64 encoded transaction\n}\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eExample\u003c/summary\u003e\n\n  **Request:**\n  ```bash\n  curl -X POST -H \"Content-Type: application/json\" https://jrpc.everwallet.net -d '{\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"method\": \"getDstTransaction\",\n    \"params\": {\n      \"messageHash\": \"c56e30355295c9de31bb82d893c06008aaf63194fb4b4ab7c7dd9f9f20666f60\"\n    }\n  }'\n  ```\n\n  **Response:**\n  ```json\n  {\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"result\": \"te6ccgECBwEAAY...AMk4nk5A\"\n  }\n  ```\n\u003c/details\u003e\n\n---\n\n### `sendMessage`\n\nBroadcasts an external message.\n\n**Request:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"method\": \"sendMessage\",\n  \"params\": {\n    \"message\": string, // Base64 encoded message\n  }\n}\n```\n\n**Response:**\n```typescript\n{\n  \"jsonrpc\": \"2.0\",\n  \"id\": number, // Request id\n  \"result\": null,\n}\n```\n\n\u003cdetails\u003e\n  \u003csummary\u003eExample\u003c/summary\u003e\n\n  **Request:**\n  ```bash\n  curl -X POST -H \"Content-Type: application/json\" https://jrpc.everwallet.net -d '{\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"method\": \"sendMessage\",\n    \"params\": {\n      \"message\": \"te6ccgEBAQEAdQAA5Yg...+nNzEuRY=\"\n    }\n  }'\n  ```\n\n  **Response:**\n  ```json\n  {\n    \"jsonrpc\": \"2.0\",\n    \"id\": 1,\n    \"result\": null\n  }\n  ```\n\u003c/details\u003e\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbroxus%2Feverscale-jrpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbroxus%2Feverscale-jrpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbroxus%2Feverscale-jrpc/lists"}