Introduction

Asternodes is a Blockchain-as-a-Service that provides access to 15+ blockchains via such APIs as REST, WS, and JSON-RPC. You can find the full list of available nodes here.

The service allows developers, wallets, exchanges, blockchain explorers, and other DApplications to effortlessly connect to Web3 instead of deploying and maintaining nodes in-house. If you have any questions, please feel free to contact us.

Blockchain List & Docs

Here you can find the complete list of blockchains available on Asternodes with corresponding API methods. We've collected resources with comprehensive information on related topics.
NB: by default, Asternodes provides access to mainnet; if you wish to connect to testnet, please leave your request here.
Click on a blockchain’s title to see its official developers’ docs.
  1. Binance Smart Chain: JSON-RPC, WS
  2. Callisto: JSON-RPC
  3. Cosmos: REST
  4. Ethereum: JSON-RPC, WS
  5. Ethereum Classic: JSON-RPC
  6. EthereumPoW: JSON-RPC
  7. Monero: JSON-RPC
  8. NEO: JSON-RPC
  9. Polkadot JSON-RPC, WS
  10. Polygon JSON-RPC, WS
  11. Avalanche JSON-RPC
  12. Solana JSON-RPC, WS
  13. Algorand REST
  14. Stellar: REST
  15. TRON: REST
  16. VeChain: REST


Getting started

Login and password

No need to create any accounts — get the keys directly. To use Asternodes' service, perform the following steps:
  1. Choose a plan that suits you most
  2. Fill out the form
  3. Receive payment information (for all plans except for the free one) and follow the instructions

After that, your login and password will arrive in your mailbox. Beyond the credentials, you'll receive the list of client URLs (cURLs) to access the networks you choose. The cURL’s format:
http://--.asternodes.io/
NB: The cURLs are blockchain-specific. That is, if you need to access Ethereum, BSC, and Solana, you’ll be provided three different cURLs. At the same time, your login and password would be the same on each endpoint.

Authentification

The authentication procedure would be the same for each blockchain. You can check your credentials via terminal or via browser. The following instruction is applicable for the browser option. Please note that sometimes browsers download JSON-responses on your device in a separate file — that’s a standard behavior.

After you receive your cURL in “http://--.asternodes.io/” format, click on it to open a window. Imagine that we access Ethereum nodes.
  1. The following page will appear:
    img
  2. Enter your login into the “Username”, and password into the “Password” fields.
  3. If you’ve done everything correctly, you will see a blank page. That means that now you can make requests to the Ethereum blockchain
    img
  4. Leave the browser page. To start making requests, you need to interact with cURL via your terminal. Your request should include a string in the following format :. For example:
    curl -X POST -u login:password -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' https://eth--login.asternodes.io
  5. Find the example of requests here or visit the official website of the blockchain of interest.


Special Cases

Some blockchains, rather than just a blank page, may return text messages. All of the indicated below is a standard behavior of a nodes:

Algorand
img Avalanche
img Monero
img
NEO3
img
Polkadot
img
Solana
img
TRON
img
VeChain
img

MetaMask Integration

One way to keep your MetaMask operations private is performing them via Asternodes. Here you can find a detailed guide on how to add Asternodes RPC endpoint to MetaMask.

Kindly note that MetaMask is a third party application, not associated with Asternodes. Therefore, we can not guarantee its safety and latency.

NB! Asternodes respects your privacy and does not store address data.
  1. Receive Asternodes’ login and password.
    Start with a 2-weeks free trial or with an upgraded plan.
  2. Go to MetaMask and choose “Add network”.
    Sign up or log into your MetaMask account. Click on the network dropdown list.
    img
    Click on the “Add network” option.
    img

    The information that you need to enter manually is
    • Network name
    • Asternodes RPC URL
    • ChainID
    • Currency symbol
    • Block Explorer URL (optional)
    Network Default RPC cURL ChainID Currency symbol Block Explorer URL
    Avalanche Network C-Chain https://avalanche--login.asternodes.io/ext/bc/X 0xa86a AVAX https://avascan.info/blockchain/c/
    Binance Smart Chain Mainnet https://bsc--login.asternodes.io/ 56 BNB https://bscscan.com/
    Callisto Mainnet https://clo--login.asternodes.io/ 820 CLO https://callisto.network
    Ethereum Mainnet https://eth--login.asternodes.io/ 1 ETH https://etherscan.io/
    Ethreum Classic https://etc--login.asternodes.io/ 61 ETC https://blockscout.com/etc/mainnet/
    EthereumPoW Mainnet https://ethpow--login.asternodes.io/ 10001 ETHW https://mainnet.ethwscan.com
    Polygon Mainnet https://polygon--login.asternodes.io/ 137 MATIC https://polygonscan.com/
    Do not forget to replace “login” in the cURL with your specific information provided by Asternodes.
  3. Fill in the network information.
    After you enter cURL, ChainID and currency symbol, a window with Basic Authentication will appear. Enter the data you’ve received from Asternodes.
    img
    That’s it!
    img


API Methods
Overall, Asternodes supports JSON-RPC, REST, and WebSocket API interfaces. Each node supports its specific set of methods, elaborated in this section.
NB! To apply WebSocket, you need to use the cURLs that contain the “ws” identifier in its body. For example, a standard Ethereum cURL under JSON-RPC method looks like this: https://eth--login.asternodes.io/. In contrast, the WebSocket cURL is wss://ethws--login.asternodes.io/.

Asternodes supports the following JSON-RPC modules for Ethereum-like blockchains:
  1. Avalanche: eth, net, web3
  2. Ethereum: net, web3, eth, debug, txpool
  3. Ethereum Classic: net, web3, eth, debug, txpool
  4. EthereumPoW: net, web3, eth, debug, txpool
  5. Binance Smart Chain: net, web3, eth, debug, txpool
  6. Callisto: net, web3, eth, shh, txpool
  7. Polygon: net, web3, eth, txpool, bor


Batch calls
Our nodes support the multicall (batch) requests on Ethereum-like blockchains: Avalanche, Binance Smart Chain, Callisto, Ethereum, Ethereum Classic, EthereumPoW, and Polygon. Each batch is counted as one request within your RPM rate. That is, if a batch includes 10 API calls, it is treated as a single request anyway.

The logic behind multicall requests is similar to single API calls. The only difference is the presence of additional arrays that contain several individual API calls. Consider the example with eth_blockNumber request on Ethereum.
Individual eth_blockNumber request:
curl --location --request POST 'https://eth--login.asternodes.io' \
-u login:password \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":83}'

Batch eth_blockNumber request
curl --location --request POST 'https://eth--login.asternodes.io' \
-u login:password \
-X POST \
-H "Content-Type: application/json" \
-d '[{"jsonrpc": "2.0", "id": 83, "method": "eth_blockNumber", "params": []},
{"jsonrpc": "2.0", "id": 84, "method": "eth_blockNumber", "params": []},
{"jsonrpc": "2.0", "id": 85, "method": "eth_blockNumber", "params": []},
{"jsonrpc": "2.0", "id": 86, "method": "eth_blockNumber", "params": []}]'


Node Endpoints & API
Corresponding endpoints are indicated below each network in the form of client URL (cURL).

Algorand
https://algorand--login.asternodes.io/
Please note that some methods require a participation key.

POSTaccount information
Returns the information about the indicated address.

Request parameter
accountId Account address which is to be queried.
curl --location --request GET 'https://algorand--login.asternodes.io/v2/accounts/ITG4MVMAQXLVEWLUH5KGRHSPVQUVHDTOCHN2WD2NZXZVZWWXHSJPAX4UEU' -u user:password


POSTblock information
Returns the information about the indicated block.

Request parameter
roundNumber Round number to get the block.
curl --location --request GET 'https://algorand--login.asternodes.io/v2/blocks/23776400' -u user:password


POSTtransactions/params
Returns the current node status.
curl --location --request GET 'https://algorand--login.asternodes.io/v2/transactions/params' -u login:password


POSTstatus
Returns the current node status.
curl --location --request GET 'https://algorand--login.asternodes.io/v2/status' -u user:password


Avalanche
https://avalanche--login.asternodes.io/

POSTavm.getAllBalances
Relevant for Exchange Chain (X-Chain). Get the balances of all assets controlled by a given address.

Request parameter
address Address you want to fetch balances for.
curl --location --request POST 'https:// avalanche--login.asternodes.io/ext/bc/X' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
   "jsonrpc": "2.0",
   "id": 1,
   "method": "avm.getAllBalances",
   "params": {
       "address": "X-avax1q99lxu524h34ey36lzvqp0kzsylztp0j4ejsvm"
   }
}


POSTavm.getUTXOs
Relevant for Exchange Chain (X-Chain). Gets the UTXOs that reference a given address. If sourceChain is specified, then it will retrieve the atomic UTXOs exported from that chain to the X Chain.

Request parameter
addresses A list of UTXOs such that each UTXO references at least one address in addresses.
limit (optional) The limit of UTXOs to return. If limit is omitted or greater than 1024, it is set to 1024.
startIndex (optional) If startIndex is omitted, will fetch all UTXOs up to limit.
encoding (optional) Encoding sets the format for the returned UTXOs. Can only be hex when a value is provided. Defaults to "hex".
curl --location --request POST 'https://avalanche--login.asternodes.io/ext/bc/X' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
   "id": 5,
   "method": "avm.getUTXOs",
   "params": {
       "addresses": [
           "X-avax1k77wtf4jycugrqtqxjfcvp4p9sq5lzlh5vl83n",
           "X-avax1fyg49u45v59m9z99mecsny90sjx8g6g3nrkpsn",
           "X-avax1p5hme2e0jlhegnak4qyd48wyg95gfstlp6x76g"
       ],
       "limit": 0,
       "encoding": "hex"
   },
   "jsonrpc": "2.0"
}'


POSTeth_getAssetBalance
Relevant for Contact Chain (C-Chain). In addition to the standard Ethereum APIs, Avalanche offers eth_getAssetBalance to retrieve the balance of first class Avalanche Native Tokens on the C-Chain (excluding AVAX, which must be fetched with eth_getBalance).

Asternodes supports the following modules on Avalanche C-Chain: eth, web3, and net.

Request parameter
address Owner of the asset.
blk Block number or hash at which to retrieve the balance
assetId Id of the asset for which the balance is requested.
curl --location --request POST 'https://avalanche--login.asternodes.io/ext/bc/C/rpc' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_getAssetBalance",
    "params": [
        "0x8723e5773847A4Eb5FeEDabD9320802c5c812F46",
        "latest",
        "3RvKBAmQnfYionFXMfW5P8TDZgZiogKbHjM8cjpu16LKAgF5T"
    ],
    "id": 1
}'


POSTeth_baseFee
Relevant for Contact Chain (C-Chain). Get the base fee for the next block.
curl --location --request POST 'https://avalanche--login.asternodes.io/ext/bc/C/rpc' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc":"2.0",
    "id" :1,
    "method" : "eth_baseFee",
    "params" :[]
}'


POSTplatform.getBalance
Relevant for Platform Chain (P-Chain). Get the balance of AVAX controlled by a given address.

Request parameter
address The address to get the balance of.
curl --location --request POST 'https://avalanche--login.asternodes.io/ext/bc/P' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
 "jsonrpc":"2.0",
 "id" : 1,
 "method" :"platform.getBalance",
 "params" :{
     "address":"P-avax18jma8ppw3nhx5r4ap8clazz0dps7rv5ukulre5"
 }
}'


POSTplatform.validatedBy
Relevant for Platform Chain (P-Chain). Get the Subnet that validates a given blockchain.

Request parameter
blockchainID The the blockchain’s ID.
curl --location --request POST 'https://avalanche--login.asternodes.io/ext/bc/P' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
   "jsonrpc": "2.0",
   "method": "platform.validatedBy",
   "params": {
       "blockchainID": "KDYHHKjM4yTJTT8H8qPs5KXzE6gQH5TZrmP1qVr1P6qECj3XN"
   },
   "id": 1
}'


Binance Smart Chain

https://bsc--login.asternodes.io/ for full node of BSC and https://bscerigon--login.asternodes.io/ for the archive one.

Asternodes supports the following modules: "net", "web3", "eth", "debug", "txpool".

POSTeth_call
Execute a new message call immediately without creating a transaction on the blockchain.

Request parameter
object The transaction call object, should have this shape:
from (optional) String of the address the transaction is sent from.
to String of the address the transaction is directed to.
gas (optional) Integer of the gas provided for the transaction execution.
gasprice (optional) Integer of the gasPrice used for each paid gas encoded as a hexadecimal.
value (optional) Integer of the value sent with this transaction encoded as a hexadecimal.
data (optional) String of the hash of the method signature and encoded parameters.
quantity or tag Integer block number, or the string 'latest', 'earliest' or 'pending'.
curl --location --request POST 'https://bsc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '[
   {
 "jsonrpc": "2.0",
 "method": "eth_call",
 "params": [
   {
     "data": "0x06fdde03",
     "to": "0x5Bc94e9347F3b9Be8415bDfd24af16666704E44f"
   },
   "latest"
 ],
 "id": 1587974564
}
]'


POSTeth_getBalance
Returns the specified address balance.

Request parameter
address The address to check for balance.
quantity or tag (optional) Integer block number, or the string 'latest', 'earliest' or 'pending'.
curl --location --request POST 'https://bsc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
   "jsonrpc": "2.0",
   "method": "eth_getBalance",
   "params": [
       "0xF87229252212b3945cfBbD1C778a9E0A4b578058",
       "latest"
   ],
   "id": 1
}'


POSTeth_getBlockByNumber
Returns information about a block according to its block number.

Request parameter
quantity or tag (optional) Integer block number, or the string 'latest', 'earliest' or 'pending'
boolean If true it returns the full transaction objects, if false only the hashes of the transactions.
curl --location --request POST 'https://bsc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
 "jsonrpc": "2.0",
 "method": "eth_getBlockByNumber",
 "params": [
   "0xC577EE",
   true
 ],
 "id": 2
}'


POSTeth_getBlockNumber
Returns information of the block matching the given block number.
curl --location --request POST 'https://bsc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "eth_blockNumber",
  "id": 2
}'


POSTeth_getCode
Returns the code for the given address. This method can be used to distinguish between the contract address and the wallet address.

Request parameter
address The address to check for code.
quantity or tag (optional) Integer block number, or the string 'latest', 'earliest' or 'pending'.
curl --location --request POST 'https://bsc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
   "jsonrpc": "2.0",
   "method": "eth_getCode",
   "id": "14",
   "params": [
       "0x06c9299553ce06eca7034df7d8719d77806ad062",
       "latest"
   ]
}
'


POSTeth_getLogs
Returns an array of all logs matching a given filter object.

Request parameter
address Contract address or a list of addresses from which logs should originate.
fromBlock Integer block number encoded as a hexadecimal, "latest","pending", or "earliest" tags.
toBlock Integer block number encoded as a hexadecimal, "latest","pending", or "earliest" tags.
curl --location --request POST 'https://bsc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
   "jsonrpc": "2.0",
   "method": "eth_getLogs",
   "id": "14",
   "params": [
       {
           "fromBlock": "0xC577EE",
           "toBlock": "0xC577EE"
       }
   ]
}'


POSTeth_getTransactionByHash
Returns information about a transaction for a given hash.

Request parameter
transaction hash a string representing the hash (32 bytes) of a transaction.
curl --location --request POST 'https://bsc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
   "jsonrpc": "2.0",
   "method": "eth_getTransactionByHash",
   "id": 46,
   "params": [
       "0x6fa1a84909cbda712cc28fd4a4f7db9310cadca687aa1412cdb393eb4b7cbd7b"
   ]
}'


POSTeth_getTransactionReceipt
Returns the receipt of a transaction by transaction hash. Note that the receipt is not available for pending transactions.

Request parameter
transaction hash a string representing the hash (32 bytes) of a transaction.
curl --location --request POST 'https://bsc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
   "jsonrpc": "2.0",
   "method": "eth_getTransactionReceipt",
   "id": "14",
   "params": [
       "0xf03d76839a8c13a663a5d0b6d596943831a639f79f93f76da6d258c5eaa17a92"
   ]
}'


POSTweb3_clientVersion
Returns the current version of the client.
curl --location --request POST 'https://bsc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
   "jsonrpc": "2.0",
   "method": "web3_clientVersion",
   "params": [],
   "id": 67
}'


Callisto
https://clo--login.asternodes.io/
We support the following methods: "net", "web3", "eth", "shh", "txpool".

POSTeth_accounts
Returns a list of addresses currently owned by the client.
curl --location --request POST 'https://clo--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_accounts",
    "params": [],
    "id": 1
}'


POSTeth_blockNumber
Get the current latest block number.
curl --location --request POST 'https://clo--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_blockNumber",
    "params": [],
    "id": 83
}'


POSTeth_call
Execute a new message call immediately without creating a transaction on the blockchain.

Request parameter
object The transaction call object, should have this shape:
from (optional) String of the address the transaction is sent from.
to String of the address the transaction is directed to.
gas (optional) Integer of the gas provided for the transaction execution.
gasprice (optional) Integer of the gasPrice used for each paid gas encoded as a hexadecimal.
value (optional) Integer of the value sent with this transaction encoded as a hexadecimal.
data (optional) String of the hash of the method signature and encoded parameters.
quantity or tag Integer block number, or the string 'latest', 'earliest' or 'pending'.
curl --location --request POST 'https://clo--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '[
   {
 "jsonrpc": "2.0",
 "method": "eth_call",
 "params": [
   {
     "data": "0x06fdde03",
     "to": "0x5Bc94e9347F3b9Be8415bDfd24af16666704E44f"
   },
   "latest"
 ],
 "id": 1587974564
}
]'


POSTweb3_clientVersion
Returns the current version of the client.
curl --location --request POST 'https://clo--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "web3_clientVersion",
    "params": [],
    "id": 67
}'


Cosmos
https://cosmos--login.asternodes.io/
The Cosmos node supported by Asternodes is not a read-only, but a JSON-RPC one. That is, these methods described in the official documentation are relevant.

GETblocks/latest
Get the latest block.
curl --location -g --request GET 'https://login--cypherd.asternodes.io/blocks/latest' \
-u login:password


GETnode_info
Network information.
curl --location -g --request GET 'https://cosmos--login.asternodes.io/node_info' \
-u login:password


GET/cosmos/base/tendermint/v1beta1/blocks/{height}
GetBlockByHeight queries block for given height.

Request parameter
height Height of the block.
curl -X GET "https://cosmos--login.asternodes.io/cosmos/base/tendermint/v1beta1/blocks/12219001" -H "accept: application/json" -u login:password


GET/cosmos/bank/v1beta1/supply
Total Supply queries the total supply of all coins.

Request parameter
pagination.key Key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
pagination.offset Offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
pagination.count_total count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
pagination.reverse Reverse is set to true if results are to be returned in the descending order.
curl -X GET "https://cosmos--login.asternodes.io/cosmos/bank/v1beta1/supply" -H "accept: application/json" -u login:password


POST/staking/delegators/{delegatorAddr}/delegations
Submit delegation

Request parameter
delegation Delegate an amount of liquid coins to a validator.
delegationAddr Bech32 AccAddress of Delegator.
curl -X GET
"https://cosmos--login.asternodes.io/staking/delegators/cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv/delegations" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"base_req\": { \"from\": \"cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc\", \"memo\": \"Sent via Cosmos Voyager 🚀\", \"chain_id\": \"Cosmos-Hub\", \"account_number\": \"0\", \"sequence\": \"1\", \"gas\": \"200000\", \"gas_adjustment\": \"1.2\", \"fees\": [ { \"denom\": \"stake\", \"amount\": \"50\" } ], \"simulate\": false }, \"delegator_address\": \"cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27\", \"validator_address\": \"cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l\", \"amount\": { \"denom\": \"stake\", \"amount\": \"50\" }}" -u login:password


Ethereum
https://eth--login.asternodes.io/
We support the following methods for Ethereum full and archive nodes: "net", "web3", "eth", "shh", "txpool".

POSTeth_accounts
Returns a list of addresses currently owned by the client.
curl --location --request POST 'https://eth--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_accounts",
    "params": [],
    "id": 1
}'


POSTeth_call
Executes a new message call immediately without creating a transaction on the blockchain.

Request parameter
object The transaction call object, should have this shape:
from (optional) String of the address the transaction is sent from.
to String of the address the transaction is directed to.
gas (optional) Integer of the gas provided for the transaction execution.
gasprice (optional) Integer of the gasPrice used for each paid gas encoded as a hexadecimal.
value (optional) Integer of the value sent with this transaction encoded as a hexadecimal.
data (optional) String of the hash of the method signature and encoded parameters.
quantity or tag Integer block number, or the string 'latest', 'earliest' or 'pending'.
curl --location --request POST 'https://eth--login.asternodes.io' \
-u login:password \
 -H "Content-Type: application/json" \
 --data '{"method":"eth_call","params":[{"from":null,"to":"0x6b175474e89094c44da98b954eedeac495271d0f","data":"0x70a082310000000000000000000000006E0d01A76C3Cf4288372a29124A26D4353EE51BE"}, "latest"],"id":1,"jsonrpc":"2.0"}'
}'


POSTeth_call (balanceOf())
Get token balance.

Request parameter
to contract address
data (optional) Hash of the method signature and encoded parameters
curl --location --request POST 'https://bsc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc" "2.0",
  "method" "eth_call",
  "params" [
    {
      "data": "0x70a082310000000000000000000000007d8bf18c7ce84b3e175b339c4ca93aed1dd166f1",
      "to": "0x6b175474e89094c44da98b954eedeac495271d0f"
    },
    "latest"
  ],
  "id": 1587974564
}'


POSTeth_chainId
Returns the currently configured chain ID, a value used in replay-protected transaction signing as introduced by EIP-155.
curl --location --request POST 'https://bsc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc" "2.0",
    "method" "eth_chainId",
    "params": [],
    "id": 1


POSTeth_estimateGas
Returns an estimation of gas for a given transaction.

Request parameter
object The transaction call object
quantity | tag Integer block number, or the string "latest", "earliest" or "pending"
curl --location --request POST 'https://bsc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc" "2.0",
  "method": "eth_estimateGas",
  "id": "14",
  "params" [
    {
      "data": "0x",
      "to": "0x7d8bf18c7ce84b3e175b339c4ca93aed1dd166f1",
      "value": "0xe0eea23fe3a519",
      "from": "0x7d8bf18c7ce84b3e175b339c4ca93aed1dd166f1"
    }
  ]
}'


POSTeth_feeHistory
Returns base fee per gas and transaction effective priority fee per gas history for the requested block range if available.

Request parameter
blockCount Number of blocks in the requested range
newestBlock Highest number block of the requested range
rewardPercentiles (optional) monotonically increasing list of percentile values to sample from each block's effective priority fees per gas in ascending order, weighted by gas used
curl --location --request POST 'https://bsc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc" "2.0",
    "method": "eth_feeHistory",
    "id": "14",
    params": [
        10,
        "latest",
        [5]
    ]
}'


POSTeth_hashRate
Returns the number of hashes per second that the node is mining with.
curl --location --request POST 'https://eth--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_hashrate",
    "params": [],
    "id": 71
}'


POSTeth_gasPrice
Returns the current gas price in wei.
curl --location --request POST 'https://eth--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_gasPrice",
    "params": [],
    "id": 73
}'


POSTeth_getBalance
Returns the balance of given account address in wei.

Request parameter
address The address to check for code.
quantity or tag (optional) Integer block number, or the string 'latest', 'earliest' or 'pending'.
curl --location --request POST 'https://eth--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "eth_getBalance",
  "params": ["0x9998E1896370fa57e42Cc98C835cEf7079dfaD7d", "latest"],
  "id": 2
}'


POSTeth_getBlockByHash
Returns information about a block by hash.

Request parameter
block hash A string representing the hash (32 bytes) of a block.
show transaction details flag A boolean parameter. When true, returns the full transaction information of each transaction hash included within the block. When false, only returns transaction hashes within the block.
curl --location --request POST 'https://https://eth--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
 "jsonrpc": "2.0",
 "method": "eth_getBlockByHash",
 "params": [
   "0xd1f45fbad634409bf8dac50c06aac58f32c69e96d17c5779a32c739a94e628ec",
   true
 ],
 "id": 1
}'


POSTeth_getBlockByNumber
curl --location --request POST 'https://eth--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_getBlockByNumber",
    "params": [
        "0x1b4",
        true
    ],
    "id": 1
}'


POSTeth_newPendingTransactionFilter
Creates a filter in the node, to notify when new pending transactions arrive.
curl --location --request POST 'https://eth--login.asternodes.io' \
-u login:password \
-H 'Content-Type application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_newPendingTransactionFilter",
    "params": [],
    "id": 73
}'


POSTeth_getLogsByBlocks
Returns an array of all logs matching a given filter object.

Request parameter
fromBlock Integer block number encoded as a hexadecimal, "latest","pending", or "earliest" tags.
toBlock Integer block number encoded as a hexadecimal, "latest","pending", or "earliest" tags.
curl --location --request POST 'https://eth--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_getLogs",
    "id": "14",
    "params": [
        {
            "fromBlock": "0xc9e509",
            "toBlock": "0xc9e509"
        }
    ]
}'


POSTeth_getLogsByContract

Request parameter
fromBlock Integer block number encoded as a hexadecimal, "latest","pending", or "earliest" tags.
toBlock Integer block number encoded as a hexadecimal, "latest","pending", or "earliest" tags.
address Contract address or a list of addresses from which logs should originate.
curl --location --request POST 'https://eth--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_getLogs",
    "id": "14",
    "params": [
        {
            "address": ["0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85"],
            "fromBlock": "0xD1A8BA",
            "toBlock": "0xd1aca2"
        }
    ]
}'


POSTeth_getTransactionByHash
Returns information about a transaction from a given hash.

Request parameter
transaction hash a string representing the hash (32 bytes) of a transaction.
curl --location --request POST 'https://eth-login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc" "2.0",
    "method" "eth_getTransactionByHash",
    "id" 46,
    "params" [
        "0xcafebf45ec4c38f2516d2babc58ec49665529a97f36fd423c09df3c183cfced2"
    ]
}'


POSTeth_getTransactionCount
Returns the number of transactions sent from an address.

Request parameter
address The address to check for code
quantity or tag (optional) Integer block number, or the string 'latest', 'earliest' or 'pending'
curl --location --request POST 'https://eth--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "eth_getTransactionCount",
  "id": 280,
  "params": [
    "0x88a3385249e8c43b6c8B405a5349525Db632041c",
    "latest"
  ]
}'


POSTeth_getTransactionReceipt
Returns the receipt of a transaction by transaction hash. NOTE: Transaction receipts are not available for pending transactions.

Request parameter
transaction hash a string representing the hash (32 bytes) of a transaction.
curl --location --request POST 'https://eth--login.asternodes.io' \
-u login:password\
-H 'Content-Type: application/json' \
--data-raw '{
   "jsonrpc" "2.0",
   "method" "eth_getTransactionReceipt",
   "id" "14",
   "params" [
       "0x6fc584cb97e0963c9d0f1041443be32bae3133bd49a9d605b33d22961bdc6581"
   ]
}'


POSTeth_syncing
Returns an object with data about the sync status or false.
curl --location --request POST 'https://eth--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc" "2.0",
  "method" "eth_syncing",
  "params" [],
  "id" 1
}'


POSTweb3_clientVersion
Returns the current version of the chain client.
​​curl --location --request POST 'https://eth--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
   "jsonrpc": "2.0",
   "method": "web3_clientVersion",
   "params": [],
   "id": 1
}'


Ethereum Classic
https://etc--login.asternodes.io/
We support the following methods: “eth”, “net”, “web3”, “debug”, “txpool”.

POSTeth_getBalance
Returns the specified address balance in wei.

Request parameters
address he address to check for balance.
quantity or tag (optional) Integer block number, or the string 'latest', 'earliest' or 'pending'.
curl --location --request POST 'https://etc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_getBalance",
    "params": ["0x9998E1896370fa57e42Cc98C835cEf7079dfaD7d", "latest"],
    "id": 2
}'


POSTeth_getBlockNumber
Returns information of the block matching the given block number.
curl --location --request POST 'https://etc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_blockNumber",
    "id": 2
}'


POSTeth_getLogs
Get event logs for an address and/or topics. Up to a maximum of 1,000 event logs.

Request parameter
address Contract address or a list of addresses from which logs should originate.
fromBlock Integer block number encoded as a hexadecimal, "latest","pending", or "earliest" tags.
toBlock Integer block number encoded as a hexadecimal, "latest","pending", or "earliest" tags.
curl --location --request POST 'https://etc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_getLogs",
    "id": "14",
    "params": [
        {
            "address": ["0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85"],
            "fromBlock": "0xD1A8BA",
            "toBlock": "0xd1aca2"
        }
    ]
}'


POSTeth_getTransactionByHash
Returns the information about a transaction from a transaction hash.

Request parameter
transaction hash A string representing the hash (32 bytes) of a transaction.
curl --location --request POST 'https://etc--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_getTransactionByHash",
    "id": 46,
    "params": [
        "0xcafebf45ec4c38f2516d2babc58ec49665529a97f36fd423c09df3c183cfced2"
    ]
}'


Monero
http://xmr--login.asternodes.io/get_info
Note that Monero cURLs include the path by default. See the official Monero docs for the details.

POSTgetBlock
Full block information can be retrieved by either block height or hash, like with the above block header calls. For full block information, both lookups use the same method, but with different input parameters.

Request parameter
height The block's height.
hash The block's hash.
curl --location --request POST 'https://xmr--login.asternodes.io/get_block' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "id": "0",
    "method": "getblock",
    "params": {
      "height": 912345
  }
}'


POSTget_fee_estimate
Lookup up fee information.

Request parameter
grace_blocks (optional) Unsigned int.
curl --location --request POST 'https://xmr--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "id": "0",
  "jsonrpc": "2.0",
  "method": "get_fee_estimate",
  "params": {},
}'


NEO3
https://neo3--login.asternodes.io/

POSTgetBlock
Returns the corresponding block information according to the specified hash or index.

Request parameter
hash | index String or numeric. Block hash string or block index (i.e. block height = number of blocks - 1).
verbose Bool or numeric, optional, default = false. When verbose is false, serialized information of the block is returned in a Base64-encoded string. If you need the detailed information, use SDK for deserialization. When verbose is true or 1, detailed information of the block is returned in Json format.
curl --location --request POST 'https://neo3--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "getblock",
  "params": [26536],
  "id": 1
}'


POSTgetBlockHash
Returns the hash value of the corresponding block based on the specified index.

Request parameter
index Block index.
curl --location --request POST 'https://neo3--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "getblockhash",
  "params": [1000],
  "id": 1
}'


POSTgetStorage
Returns the stored value according to the contract script hash and the stored key. Both key and value are Base64-encoded

Request parameter
script_hash Contract script hash or contract ID.
key The key to look up in storage (Base64-encoded).
curl --location --request POST 'https://neo3--login.asternodes.io' \
-u login:PgNDR2S0XNYEwyRuP4PD \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "getstorage",
  "params": [script_hash, key],
  "id": 1
}'


POSTsendRawTransaction
Broadcasts transactions over the NEO network.

Request parameter
transaction A Base64-encoded string that has been serialized after the transaction signed in the program.
curl --location --request POST 'https://neo3--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "sendrawtransaction",
  "params": [null],
  "id": 1
}'


POSTvalidateAddress
Verifies that the address is a valid NEO address.

Request parameter
address The NEO standard address begins with N because AddressVersion in Neo N3 has been modified to 53.
curl --location --request POST 'https://neo3--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "validateaddress",
  "params": [address],
  "id": 1
}'


Polkadot
https://polkadot--login.asternodes.io/

POSTchain_getBlock
Get header and body of a relay chain block.

Request parameter
blockHash A string representing the hash (32 bytes) of a transaction.
curl --location --request POST 'https://polkadot--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "chain_getBlock",
  "params": [0x7bfb9151107d3709ce3483905ecf74f1eee3d3a49130964651c70240b263bede],
  "id": 1
}'


POSTchain_getHeader
Get the block hash for a specific block.

Request parameter
blockHash A string representing the hash (32 bytes) of a transaction.
curl --location --request POST 'https://polkadot--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "chain_getBlock",
  "params": ["0x30658d4bac51bc6e576d52323d3a5dd71dc46cae59a2768e908a509e7d019669"],
  "id": 1
}'


POSTsystem_chainType
Retrieves the chain type.
curl --location --request POST 'https://polkadot--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc" "2.0",
  "method" "system_chainType"
}'


POSTsystem_getMetadata
Returns the runtime metadata.

Request parameter
blockHash A string representing the hash (32 bytes) of a transaction.
curl --location --request POST 'https://polkadot--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc" "2.0",
  "method" "state_getMetadata",
  "params" ["0x586fe84d09f1d00e3d844d7f1365db6d07986432c422446e515cb5de7c9396e6"],
  "id" 1
}'


POSTrpcMethods
Retrieves the list of RPC methods that are exposed by the node.
curl --location --request POST 'https://polkadot--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "jsonrpc": "2.0",
  "method": "rpc_methods",
  "params": [],
  "id": 1
}'


Polygon
https://polygon--login.asternodes.io/

POSTeth_chainld
Returns the currently chain ID, eth_chainId is recommended instead of net_version, so that you can reliably identify the chain you are communicating with.
curl --location --request POST 'https://polygon--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_chainId",
    "params": [],
    "id": 1
}'


POSTeth_getBlockByNumber
Returns information about a block according to its block number.

Request parameter
quantity or tag (optional) Integer block number, or the string 'latest', 'earliest' or 'pending'
boolean If true it returns the full transaction objects, if false only the hashes of the transactions.
curl --location --request POST 'https://polygon--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_getBlockByNumber",
    "params": [
      "0x134e82a",
      true
    ],
    "id": 2
}'


POSTeth_BlockNumber
Returns information about a block according to its block number.
curl --location --request POST 'https://polygon--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_blockNumber",
    "id": 2
}'


POSTeth_getTransactionByHash
Returns information about a transaction for a given hash.

Request parameter
quantity or tag (optional) Integer block number, or the string 'latest', 'earliest' or 'pending'
curl --location --request POST 'https://polygon--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_getTransactionByHash",
    "id": "14",
    "params": [
       "0x78170d79680166068906f8991f1dd5f9f7f12f4e8803ffb590f4d3254f9b8f20"
    ]
}'


POSTeth_getTransactionReceipt
Returns the receipt of a transaction by transaction hash. Note that the receipt is not available for pending transactions.
curl --location --request POST 'https://polygon--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_getTransactionReceipt",
    "id": "14",
    "params": [
       "0x78170d79680166068906f8991f1dd5f9f7f12f4e8803ffb590f4d3254f9b8f20"
    ]
}'


POSTeth_syncing
Returns the current node synchronization information.
curl --location --request POST 'https://polygon--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "eth_syncing",
    "params": [],
    "id": 1
}'


Solana
https://sol--login.asternodes.io/

POSTgetAccountInfo
Returns all information associated with the account of provided Pubkey.

Request parameter
string Pubkey of account to query, as base-58 encoded string.
object (optional) Configuration object containing the following optional fields:
  finalized The node will query the most recent block confirmed by supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized.
  confirmed The node will query the most recent block that has been voted on by supermajority of the cluster.
  processed The node will query its most recent block. Note that the block may not be complete.
encoding Encoding for Account data, either "base58" (slow), "base64", "base64+zstd", or "jsonParsed".
dataSlice (optional) limit the returned account data using the provided offset: 'usize' and length: 'usize' fields; only available for "base58", "base64" or "base64+zstd" encodings.
curl --location --request POST 'https://sol--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
   "jsonrpc": "2.0",
   "id": 1,
   "method": "getAccountInfo",
   "params": [
       "AHy6YZA8BsHgQfVkk7MbwpAN94iyN7Nf1zN4nPqUN32Q",
       {
           "encoding": "jsonParsed"
       }
   ]
}'


POSTgetBlockHeight
Returns the current block height of the node.

Request parameter
commitment (optional) The configuration object.
curl --location --request POST 'https://sol--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getBlockHeight",
    "params": []
}'


POSTgetConfirmedBlock
Returns identity and transaction information about a confirmed block in the ledger.

Request parameter
slot_number Slot, as u64 (64-bit unsigned integer) integer.
object (optional) Configuration object containing the following fields:
  finalized The node will query the most recent block confirmed by supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized.
  confirmed The node will query the most recent block that has been voted on by supermajority of the cluster.
  processed The node will query its most recent block. Note that the block may not be complete.
encoding Encoding for Account data, either "base58" (slow), "base64", "base64+zstd", or "jsonParsed".
transactionDetails (optional) Level of transaction detail to return, either "full", "signatures", or "none". If parameter not provided, the default detail level is "full".
rewards (optional) Boolean value, whether to populate the rewards array. If parameter not provided, the default includes rewards.
curl --location --request POST 'https://sol--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getConfirmedBlock",
    "params": [
        65496124,
        "jsonParsed"
    ]
}'


POSTgetEpochInfo
Returns information about the current epoch.

Request parameter
object (optional) Configuration object containing the following fields:
  finalized The node will query the most recent block confirmed by supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized.
  confirmed The node will query the most recent block that has been voted on by supermajority of the cluster.
  processed The node will query its most recent block. Note that the block may not be complete.
curl --location --request POST 'https://sol--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getEpochInfo",
    "params": []
}'


POSTgetHealth
Returns the current health of the node.
curl --location --request POST 'https://sol--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getHealth",
    "params": []
}'


POSTgetInflationRate
Returns the specific inflation values for the current epoch.
curl --location --request POST 'https://sol--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "method": "getInflationRate",
    "jsonrpc": "2.0",
    "id": "9e20354e-2074-49cb-aba2-645dc3ad19f1"
}'


POSTgetInflationReward
Returns the inflation / staking reward for a list of addresses for an epoch.

Request parameter
array An array of addresses to query, as base-58 encoded strings.
object (optional) Configuration object containing the following fields:
  finalized The node will query the most recent block confirmed by supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized.
  confirmed The node will query the most recent block that has been voted on by supermajority of the cluster.
  processed The node will query its most recent block. Note that the block may not be complete.
encoding Encoding for Account data, either "base58" (slow), "base64", "base64+zstd", or "jsonParsed".
transactionDetails (optional) Level of transaction detail to return, either "full", "signatures", or "none". If parameter not provided, the default detail level is "full".
rewards (optional) Boolean value, whether to populate the rewards array. If parameter not provided, the default includes rewards.
curl --location --request POST 'https://sol--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "method": "getInflationReward",
    "jsonrpc": "2.0",
    "params": [
        [
            "5GGrACQYbuw1rrowJnBQ99f39p7L9R8w5o8CCF44v9G6"
        ],
        {
            "commitment": "confirmed"
        }
    ],
    "id": "9e20354e-2074-49cb-aba2-645dc3ad19f1"
}'


POSTgetStakeActivation
Returns epoch activation information for a stake account.

Request parameter
string Pubkey of account to query, as base-58 encoded string.
object (optional) Configuration object containing the following fields:
  finalized The node will query the most recent block confirmed by supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized.
  confirmed The node will query the most recent block that has been voted on by supermajority of the cluster.
  processed The node will query its most recent block. Note that the block may not be complete.
epoch (optional) Epoch for which to calculate activation details. If parameter not provided, defaults to current epoch.
curl --location --request POST 'https://sol--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "method": "getStakeActivation",
    "jsonrpc": "2.0",
    "params": [
        "5GGrACQYbuw1rrowJnBQ99f39p7L9R8w5o8CCF44v9G6",
        {
            "commitment": "recent"
        }
    ],
    "id": "0516bd9b-ca21-4896-a2d6-8d9d9ccf050c"
}'


POSTgetVersion
Returns the current Solana versions running on the node.
curl --location --request POST 'https://sol--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getVersion",
    "params": []
}'


POSTgetVoteAccounts
Returns the account info and associated stake for all the voting accounts in the current bank.

Request parameter
object (optional) Configuration object containing the following fields:
  commitment The node will query the most recent block confirmed by supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized.
  finalized The node will query the most recent block confirmed by supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized.
  confirmed The node will query the most recent block that has been voted on by supermajority of the cluster.
  processed The node will query its most recent block. Note that the block may not be complete.
votePubkey (optional) Only return results for this validator vote address. Passed as a string, base-58 encoded.
keepUnstakedDelinquents (optional) Boolean that determines whether or not to filter out delinquent validators with no stake.
delinquentSlotDistance (optional) Specify the number of slots behind the tip that a validator must fall to be considered delinquent. Passed as an integer. It is not recomended to specify this argument.
curl --location --request POST 'https://sol--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "method": "getVoteAccounts",
    "jsonrpc": "2.0",
    "params": [
        {
            "commitment": "recent"
        }
    ],
    "id": "e2cffaa4-a5c0-417b-bd7f-c891cccdc8c4"
}'


POSTsendTransaction
Submits a signed transaction to the cluster for processing. This method does not alter the transaction in any way; it relays the transaction created by clients to the node as-is.

Request parameter
string fully-signed Transaction, as encoded string.
object (optional) Configuration object containing the following fields:
  skipPreflight If true, skip the preflight transaction checks (default: false).
  preflightCommitment (optional) Commitment level to use for preflight (default: "finalized").
  encoding (optional) Encoding used for the transaction data. Either "base58" (slow, DEPRECATED), or "base64". (default: "base58").
  maxRetries (optional)
curl --location --request POST 'https://sol--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
 "jsonrpc": "2.0",
 "method": "sendTransaction",
 "id": 10,
 "params": [
  "S7buydtT7K6vR7eZnw8myoxLChvf43xhXtknoYRtGKhviszrvwB8RSNusRYGHxKKYMQ63A39wfbr71t5hxQLWKTuMc2AnSBQvA7xsFJgqzg3WbzfXpoCGQguUzrAoDo1NFsmPDnZbbqMBwubU9pAnSgJCzLqvUq3vWCc2ynF6CxjNGNJ9kyyvNnVnFvFiEvr9H3ivsQfwWCiD9qb9egBgDSaAPHiHdG6qEmthtiNJM856qf1vXDQAHUiuGwNUNLtEoaWFdA9r7AvT9nRJHifNpVmwp8CY5oHBPLnVp7EAWYyMfioGU6XSbaMCDfrEtzdQvpkvJ9BMcX5DM1Wy342ZrKxVpzRWs18oeGbmSkcqARmNhAvkhTa55ooxnVb"
 ]
}'


Stellar
https://xlm--login.asternodes.io/

List All Effects
Effects represent specific changes that occur in the ledger as a result of successful operations, but are not necessarily directly reflected in the ledger or history, as transactions and operations are. This endpoint lists all effects and can be used in streaming mode. Streaming mode allows you to listen for new effects as they are added to the Stellar ledger.
curl 'https://xlm--login.asternodes.io/effects?cursor={paging_token}&order={asc,desc}&limit={1-200}' -u login:password


Request parameter
cursor (optional) A number that points to a specific location in a collection of responses and is pulled from the paging_token value of a record.
order (optional) A designation of the order in which records should appear. Options include asc (ascending) or desc (descending). If this argument isn’t set, it defaults to asc.
limit (optional) The maximum number of records returned. The limit can range from 1 to 200 - an upper limit that is hardcoded in Horizon for performance reasons. If this argument isn’t designated, it defaults to 10.
Example Request
curl 'https://xlm--login.asternodes.io/effects' -u login:password


List All Offers
Offers are statements about how much of an asset an account wants to buy or sell. This endpoint lists all currently open offers and can be used in streaming mode.

Request parameter
sponsor (optional) The account ID of the sponsor who is paying the reserves for all the offers included in the response.
seller (optional) The account ID of the offer creator.
selling_asset_type (optional) The type for the selling asset. Either native, credit_alphanum4, or credit_alphanum12.
selling_asset_issuer (optional) The Stellar address of the selling asset’s issuer.
selling_asset_code (optional) The code for the selling asset.
buying_asset_type (optional) The type for the buying asset. Either native, credit_alphanum4, or credit_alphanum12.
buying_asset_issuer (optional) The Stellar address of the buying asset’s issuer.
buying_asset_code (optional) The code for the buying asset..
cursor (optional) A number that points to a specific location in a collection of responses and is pulled from the paging_token value of a record.
order (optional) A designation of the order in which records should appear. Options include asc (ascending) or desc (descending). If this argument isn’t set, it defaults to asc.
limit (optional) The maximum number of records returned. The limit can range from 1 to 200 - an upper limit that is hardcoded in Horizon for performance reasons. If this argument isn’t designated, it defaults to 10.
curl 'https://xlm--login.asternodes.io/​​/offers?sponsor={:sponsor}&seller={:account_id}&selling_asset_type={native,credit_alphanum4,credit_alphanum12}&selling_asset_issuer={:account_id}&selling_asset_code{:asset_code}&buying_asset_type={native,credit_alphanum4,credit_alphanum12}&buying_asset_issuer={:account_id}&buying_asset_code{:asset_code}&cursor={paging_token}&order={asc,desc}&limit={1-200}&include_failed{true,false}' -u login:password

Example Request
curl 'https://xlm--login.asternodes.io/offers?selling_asset_type=credit_alphanum4&selling_asset_issuer=GDUKMGUGDZQK6YHYA5Z6AY2G4XDSZPSZ3SW5UN3ARVMO6QSRDWP5YLEX&selling_asset_code=USD&limit=3' -u login:password


List All Trades
When an offer is fully or partially fulfilled, a trade happens. Trades can also be caused by successful path payments, because path payments involve fulfilling offers. This endpoint lists all trades and can be used in streaming mode.

Request parameter
offer_id (optional) The offer ID. Used to filter for trades originating from a specific offer.
base_asset_type (optional) The type for the base asset. Either native, credit_alphanum4, or credit_alphanum12.
base_asset_issuer (optional) The Stellar address of the base asset’s issuer.
base_asset_code (optional) The code for the base asset.
counter_asset_type (optional) The type for the counter asset. Either native, credit_alphanum4, or credit_alphanum12.
counter_asset_issuer (optional) The Stellar address of the counter asset’s issuer.
counter_asset_code (optional) The code for the counter asset.
trade_type (optional) Can be set to all, orderbook, or liquidity_pools to filter only trades executed across a given mechanism.
cursor (optional) A number that points to a specific location in a collection of responses and is pulled from the paging_token value of a record.
order (optional) A designation of the order in which records should appear. Options include asc (ascending) or desc (descending). If this argument isn’t set, it defaults to asc.
limit (optional) The maximum number of records returned. The limit can range from 1 to 200 - an upper limit that is hardcoded in Horizon for performance reasons. If this argument isn’t designated, it defaults to 10.
curl 'https://xlm--login.asternodes.io/trades?offer_id={:offer_id}&base_asset_type={native,credit_alphanum4,credit_alphanum12}&base_asset_issuer={:account_id}&base_asset_code{:asset_code}&counter_asset_type={native,credit_alphanum4,credit_alphanum12}&counter_asset_issuer={:account_id}&counter_asset_code{:asset_code}&cursor={paging_token}&order={asc,desc}&limit={1-200}&include_failed{true,false}' -u login:password

Example Request
curl 'https://xlm--login.asternodes.io/trades?base_asset_type=credit_alphanum4&base_asset_issuer=GDUKMGUGDZQK6YHYA5Z6AY2G4XDSZPSZ3SW5UN3ARVMO6QSRDWP5YLEX&base_asset_code=USD&counter_asset_type=native&limit=3' -u login:password


List All Transactions
This endpoint lists all successful transactions and can be used in streaming mode. Streaming mode allows you to listen for new transactions as they are added to the Stellar ledger.

Request parameter
cursor (optional) A number that points to a specific location in a collection of responses and is pulled from the paging_token value of a record.
order (optional) A designation of the order in which records should appear. Options include asc (ascending) or desc (descending). If this argument isn’t set, it defaults to asc.
limit (optional) The maximum number of records returned. The limit can range from 1 to 200 - an upper limit that is hardcoded in Horizon for performance reasons. If this argument isn’t designated, it defaults to 10.
include_failed (optional) Set to true to include failed operations in results. Options include true and false.
curl 'https://xlm--login.asternodes.io/transactions?cursor={paging_token}&order={asc,desc}&limit={1-200}&include_failed{true,false}' -u login:password

Example Request
curl 'https://xlm--login.asternodes.io/transactions?limit=3' -u login:password


List Claimable Balances
This endpoint lists all available claimable balances.

Request parameter
sponsor (optional) The account ID of the sponsor who is paying the reserves for all the offers included in the response.
asset (optional) An issued asset represented as “Code:IssuerAccountID”. Only include claimable balances in the response which provide a balance for the given asset.
claimant (optional) Account ID of the destination address. Only include claimable balances which can be claimed by the given account ID.
cursor (optional) A number that points to a specific location in a collection of responses and is pulled from the paging_token value of a record.
order (optional) A designation of the order in which records should appear. Options include asc (ascending) or desc (descending). If this argument isn’t set, it defaults to asc.
limit (optional) The maximum number of records returned. The limit can range from 1 to 200 - an upper limit that is hardcoded in Horizon for performance reasons. If this argument isn’t designated, it defaults to 10.
curl 'https://xlm--login.asternodes.io/claimable_balances?sponsor={:sponsor}&asset={:asset}&claimant={:claimant}&cursor={paging_token}&order={asc,desc}&limit={1-200}' -u login:password

Example Request
curl 'https://xlm--login.asternodes.io/claimable_balances?asset=native' -u login:password


List Liquidity Pools
Liquidity Pools provide a simple, non-interactive way to trade large amounts of capital and enable high volumes of trading. This endpoint lists all available liquidity pools.

Request parameter
reserves (optional) Comma-separated list of assets in canonical form (Code:IssuerAccountID), to only include liquidity pools which have reserves matching all listed assets.
asset (optional) A Stellar account ID, to only include liquidity pools in which this account is participating in (i.e. holds pool shares to).
cursor (optional) A number that points to a specific location in a collection of responses and is pulled from the paging_token value of a record.
order (optional) A designation of the order in which records should appear. Options include asc (ascending) or desc (descending). If this argument isn’t set, it defaults to asc.
limit (optional) The maximum number of records returned. The limit can range from 1 to 200 - an upper limit that is hardcoded in Horizon for performance reasons. If this argument isn’t designated, it defaults to 10.
curl 'https://xlm--login.asternodes.io/liquidity_pools?reserves={:reserves}&account={:account_id}&cursor={paging_token}&order={asc,desc}&limit={1-200}' -u login:password

Example Request
curl 'https://xlm--login.asternodes.io/liquidity_pools' -u login:password


TRON
https://trxdaemon--login.asternodes.io/

POSTgetAccount
Query information about an account,Including balances, stake, votes and time, etc.

Request parameter
address Address should be converted to a hex string
visible (optional) Whether the address is in base58 format
curl --location --request POST 'https://trxdaemon--login.asternodes.io/wallet/getaccount' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
   "address": "TPJYCz8ppZNyvw7pTwmjajcx4Kk1MmEUhD",
   "visible": true
}'


POSTgetBlockByLimitNext
Returns the list of Block Objects included in the 'Block Height' range specified.

Request parameter
startNum Starting block height, including this block.
endNum Ending block height, excluding that block.
curl --location --request POST 'https://trxdaemon--login.asternodes.io/wallet/getblockbylimitnext' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
   "startNum": 34776347,
   "endNum": 34776348
}'


POSTgetPaginatedAssetIssueList
Query the list of all the tokens by pagination.

Request parameter
offset The index of the start token.
limit The amount of tokens per page.
curl --location --request POST 'https://trxdaemon--login.asternodes.io/wallet/getpaginatedassetissuelist' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
    "offset": 0,
    "limit": 10
}'


POSTlistExchanges
Query the list of all the exchange pairs.
curl --location --request POST 'https://trxdaemon--login.asternodes.io/wallet/listexchanges' \
-u login:password \
-H 'Content-Type: application/json'


VeChain
https://vet--login.asternodes.io/

POSTlogs
Filter event logs. Event logs are produced by OP_LOG in EVM.

Request parameter
range Defines the filter range.
options Defines the filter option.
criteriaSet Set criteria to filter.
order Order of filters, defaults to asc (asc or desc).
adress Address of event emitter.
curl --location --request POST 'https://vet--login.asternodes.io' \
-u login:password \
-H 'Content-Type: application/json' \
--data-raw '{
  "range": {
    "unit": "block",
    "from": 0,
    "to": 100000
  },
  "options": {
    "offset": 0,
    "limit": 10
  },
  "criteriaSet": [
    {
      "address": "0x0000000000000000000000000000456E65726779",
      "topic0": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
      "topic1": "0x0000000000000000000000005034aa590125b64023a0262112b98d72e3c8e40e"
    }
  ],
  "order": "asc"
}'


FAQ
Can I request a rate that is higher than 20,000 requests per minute?
Yes. We’d be happy to discuss it with you via website form, Telegram, or email (team@asternodes.io).

Do you limit the number of simultaneous connections from a single IP?
By default, the maximum IP flow is 100. Please contact us via website form, Telegram, or email (team@asternodes.io) to request a higher limit.

Do you plan to extend your current list of supported blockchains?
Yes. Asternodes adds new blockchains every month.

What shall I do if there are some urgent issues regarding the stability of a node?
Alongside with cURLs and credentials, you are given access to a special email address that accepts reports on emergency situations. Also, feel free to contact us via Telegram, which is constantly monitored.

Why does my archive node perform worse than a public full node of a blockchain?
It is incorrect to compare the productivity of an archive node with a full one. For example, BSC erigon works slower than the public full nodes of these blockchain by default, though it provides you with information since genesis. If you need maximum productivity, we’re ready to supply you with a full node of BSC instead.

What error is displayed when my requests per minute are up?
429
Close
We use cookies to ensure you get the best experience. By using Asternodes, you agree to Privacy Policy