O-Chain
omega.exportKey
Get the private key that controls a given address.
Method: POST
https://avax.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc":"2.0",
"id" :1,
"method" :"omega.exportKey",
"params" :{
"username" :"myUsername",
"password": "myPassword",
"address": "P-avax18jma8ppw3nhx5r4ap8clazz0dps7rv5ukulre5"
}
}
Example response: 200
{
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "problem retrieving user \"myUsername\": incorrect password: user \"myUsername\"",
"data": null
},
"id": 1
}
omega.getBalance
Get the balance of AVAX controlled by a given address.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc":"2.0",
"id": 1,
"method" :"omega.getBalance",
"params" :{
"addresses":["O-addresses"]
}
}
Example response: 200
{
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "problem parsing address '': couldn't parse address \"\": no separator found in address",
"data": null
},
"id": 1
}
omega.getBlock
Get a block by its ID.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getBlock",
"params": {
"blockID": "2h1ixZXRwM4ew8RB8vdKhQdf7Q9HcyWM2QYCZNY39KFybqcUMp",
"encoding": "json"
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"block": {
"parentID": "FhQqCkL5mMSZsteD6QMYpXfxvbzE53sc9i6qNGTwRGqJAbtzx",
"height": 0,
"id": "2h1ixZXRwM4ew8RB8vdKhQdf7Q9HcyWM2QYCZNY39KFybqcUMp"
},
"encoding": "json"
},
"id": 1
}
omega.getBlockByHeight
Get a block by its height.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getBlockByHeight",
"params": {
"height": 0,
"encoding": "hex"
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"block": "0x000000000002215ee91d015f8e3b837d8d8aea17b8b5fe765478fb2ddba97e3777013180aac900000000000000003d6029c9",
"encoding": "hex"
},
"id": 1
}
omega.getBlockchains
Get all the blockchains that exist (excluding the P-Chain).
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getBlockchains",
"params": {},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"blockchains": [
{
"id": "faqcDVftkSVcZ2nESGxGKKZbNALcaU5AUc15SwwaiTkAgy3KK",
"name": "D-Chain",
"subnetID": "11111111111111111111111111111111LpoYY",
"vmID": "mDVBL3usiCQJx76B849LF9wjvZrwrjX1zmDwNRpPncHG2Q15B"
},
{
"id": "2YjjguzbzbhbpQYUioAcNmw5xbmiHKrae8S2HWVKLH6Ce7DiD6",
"name": "A-Chain",
"subnetID": "11111111111111111111111111111111LpoYY",
"vmID": "juZBXyHNy3HUvhBYn2SKtgm1YWyqtrq4y83o8gDJkHmzLxni2"
}
]
},
"id": 1
}
omega.getBlockchainStatus
Get the status of a blockchain.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getBlockchainStatus",
"params":{
"blockchainID":"2YjjguzbzbhbpQYUioAcNmw5xbmiHKrae8S2HWVKLH6Ce7DiD6"
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"status": "Syncing"
},
"id": 1
}
omega.getCurrentSupply
Returns an upper bound on amount of tokens that exist that can stake the requested Subnet. This is an upper bound because it does not account for burnt tokens, including transaction fees.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getCurrentSupply",
"params": {
"subnetID": "11111111111111111111111111111111LpoYY"
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"supply": "37500000006000000",
"height": "0"
},
"id": 1
}
omega.getCurrentValidators
List the current validators of the given Subnet.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getCurrentValidators",
"params": {
"nodeIDs": ["NodeID-5mb46qkSBj81k9g9e4VFjGGSbaaSLFRzD"]
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"validators": []
},
"id": 1
}
omega.getHeight
Returns the height of the last accepted block.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getHeight",
"params": {},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"height": "0"
},
"id": 1
}
omega.getMinStake
Get the minimum amount of tokens required to validate the requested Subnet and the minimum amount of tokens that can be delegated.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc":"2.0",
"id" :1,
"method" :"omega.getMinStake",
"params": {
"subnetID":"11111111111111111111111111111111LpoYY"
}
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"minValidatorStake": "500000000000000",
"minDelegatorStake": "500000000000"
},
"id": 1
}
omega.getRewardUTXOs
Returns the UTXOs that were rewarded after the provided transaction's staking or delegation period ended.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getRewardUTXOs",
"params": {
"txID": "2nmH8LithVbdjaXsxVQCQfXtzN9hBbmebrsaEYnLM9T32Uy2Y5"
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "couldn't unmarshal an argument. Ensure arguments are valid and properly formatted. See documentation for example calls",
"data": null
},
"id": 1
}
omega.getStake
Get the amount of nAVAX staked by a set of addresses. The amount returned does not include staking rewards.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getStake",
"params": {
"addresses": [
"O-addresses"
],
"validatorsOnly": true
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"staked": "0",
"stakeds": {},
"stakedOutputs": [],
"encoding": "hex"
},
"id": 1
}
omega.getStakingAssetID
Retrieve an assetID for a Subnet’s staking asset.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getStakingAssetID",
"params": {
"subnetID": "11111111111111111111111111111111LpoYY"
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"assetID": "D8mxfovjYSN6XMbpWxaRk6xqdFHCQcxwzvGP9tmTx2AsiPFUc"
},
"id": 1
}
omega.getSubnets
Get info about the Subnets.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getSubnets",
"params": {"ids":["11111111111111111111111111111111LpoYY"]},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"subnets": [
{
"id": "11111111111111111111111111111111LpoYY",
"controlKeys": [],
"threshold": "0"
}
]
},
"id": 1
}
omega.getTimestamp
Get the current P-Chain timestamp.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getTimestamp",
"params": {},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"timestamp": "2024-10-01T08:06:40Z"
},
"id": 1
}
omega.getTotalStake
Get the total amount of tokens staked on the requested Subnet.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getTotalStake",
"params": {
"subnetID": "11111111111111111111111111111111LpoYY"
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"stake": "37500000000000000",
"weight": "37500000000000000"
},
"id": 1
}
omega.getTx
Gets a transaction by its ID. Optional encoding
parameter to specify the format for the returned transaction. Can be either hex
or json
. Defaults to hex
.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getTx",
"params": {
"txID":"txID",
"encoding": "json"
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "couldn't unmarshal an argument. Ensure arguments are valid and properly formatted. See documentation for example calls",
"data": null
},
"id": 1
}
omega.getTxStatus
Gets a transaction’s status by its ID. If the transaction was dropped, response will include a reason
field with more information why the transaction was dropped.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getTxStatus",
"params": {
"txID":"txID"
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "couldn't unmarshal an argument. Ensure arguments are valid and properly formatted. See documentation for example calls",
"data": null
},
"id": 1
}
omega.getUTXOs
Gets the UTXOs that reference a given set of addresses.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc":"2.0",
"id" :1,
"method" :"omega.getUTXOs",
"params" :{
"addresses":["O-addresses", "O-addresses"],
"limit":5,
"encoding": "hex"
}
}
Example response: 200
{
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "couldn't parse address \"O-addresses\": invalid separator index -1",
"data": null
},
"id": 1
}
omega.getValidatorsAt
Get the validators and their weights of a Subnet or the Primary Network at a given P-Chain height.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.getValidatorsAt",
"params": {
"height":0
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"NodeID-3ZmEVKbgaMndkvAJo9Xg3xcqoaKDrKghq": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-443VKfnezCoCsAXS8QnJZZzSKA7W4Wtgo": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-4ERLqkVaDNK4MZga2EPzVR9XPi6zVkUcK": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-4kXS9BUGHfPTizT6CtJF1UqP2sBjdkv8B": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-4vnhY4HpJQktk7x6mzmbXmxtrjhX3BiTT": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-5aQwWR9fgT1aRi8kcZYNZnoiARRqE1xTk": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-5eUFb1PKgUVnavW4mgs4fEmpqXt6CnEan": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-62UWnvXpnV8sJwCW8CkQDR4nPyvXPTMaf": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-64o6BSZ7XHpB6eR3j1ikCGsJnJXAWScBH": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-68NaGJ2rYc2NbRjUc7LSYH488fz4Kcxmp": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-6A9XRQSwsdTBtzbguhrLfPqYY5eUwujuv": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-6fKyTWUNMo9NntpnQ6QLxJ4pQu8wPazp7": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-75Dxd1hzujofRrAJocF4cGeeZig7EQEfU": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-7AkWksAKMjK7g11fHggSnLrG86nRBmN5b": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-7BgigJaViQCfyMUi6riQx1HGijTkPG9Yd": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-7zYuwUnfacXnk9vHtX5vPFkcUntRgCrQD": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-85FY6Wm1JqP7YgVDvgdrAXk7zgnhMnSLJ": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-8MbK9jcwaTDsQAFh434cESRTE5KV1JiRZ": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-8NWBZmKy3ekrYHC6hgLZBDjh5bsfU59mT": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-8PveX3o5jyhVpvBtNQgmMro2bAz3KEymj": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-8bNebJDC4WF7qPyGEW8oho9Dbcp4nSkfz": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-8ib36TFf6QsgjR6eb1UWW6oHKAcviCn1v": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-8nDeUfNzGQiLAxTyiuA6D7r7DSv3NfkyA": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-8uPskR4LZrKLXkA9LSTjHXm6Lmut7snuh": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-9BZ1Xu6HS7WVKM6TdVCSyvBBpEXddzi8h": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-9j9xu6NER3voCdxr81HicJKQj1A6ALBoV": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-9shG6YiQnNydE5GjNz3jU57UjQbnQ31ii": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-9u84nKz6qz1FpHxP4FPEnqAhjcDdbv3nj": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-9yNkAToqZsMw5Bn2u5Wtyhqq5hzXeFvH4": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-A8Q5k4Gi1oEEsHh8GZDhzh9qBLTfkPNgQ": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-ACjJToQtPF5HLrFNRwKb6BYZiyTdcmCJU": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-AGs8qajKaTp3DNZSa5QXzpf62Fvaj47Dt": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-ATBRJLTQCLqYBHDQCNK3v9eqfTZuVxctd": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-BCM1Ao9ocfCnXo39iP4Doe5nT9UDkcs8k": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-Bi4MD6ZuZrLY9RVDNkKsFYe7wuCVYLeGY": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-CBqSeNMrg3ENMrbmmDv94FgoWK2zshsbw": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-CFRSBqhgf1qcQiBxQ6ZqhFNDFpsqvmz96": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-CLxsju2fZMVvFdxdidxo8r9XHLHMWYo36": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-CWHjGERnkXXuEuhNDHtAonV2W5gFBHa7c": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-CkcQRgVCZegi5h5owh2UMK5C9gcz1mqHc": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-D4bDXWM8TG8BghUXdsAq5Bj58mt87v1uk": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-DMmajmEBy2GvAoDwJvknCFUYF4JbkujWP": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-DjFoLdMZUC9n9txpAHYnSkGwnNyV1CqR3": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-ErtDivzMPk1zjoq9fyaJu1Hx8Ax19yP8D": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-FZ1c1DQhunVJwDHuLgLk4rAag75X9KdJp": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-G3iisRkXEHGz6ERxDXUf461xF3kHuWhVk": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-GJFWzJm9w8uq5dEVLdc3Du8nnSoKvjB5f": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-GPT9kRKwHpLDBRtqDTAZgKKNZZxEXPzq9": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-GnHn3sHFFWJDC5jpMKfo23u134xL9LnZo": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-GuD7vdYPjwztCmbU9Y2t2t3KcM77rDNE": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-H74xATcMrzy5SawHwxjSx7z46DWcbfBRm": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-HiSA5P3USdUzh36HZpkqMygMewkVcEaCg": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-HqJ7D4GVBadpss2ajyiTFFP9SwHgNqMRG": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-JQT4gtZL8mK4yg9W7tqLvTGN4RPr5QgYp": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-Jw3iqyVe1kTtnzYS8GL6mMVH2DEAwyzXU": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-JzUybH8cbiQDK4Wanb6g3nGaaw5p6BhWy": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-K6FqdNVcFkXTmNTvRW8ZKkHG8vBfbu7Be": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-KUbWrE9jUNk5rKc3oqgXcgKTG4Bs4oUnn": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-KiB8HabJ5XPohtrDAj5ZsoHE4bahayCch": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-KvagrYEExwiYnQ6mprMtpwsd8NJhyV5wT": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-L3ifjUYVpNLkfwAtQ2eT23cRxhvtANumo": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-LJynt61A6MEkAPnJAWAXte3DXaecRF5m4": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-LWXTiPDPZEsUvSPWvkPUUKcmzwvNRo8WE": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-LjkgwU3bzo7Gbh2LPBGxrP3z57NZxtVzF": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-Md2fPTwTSGWhV5PWBLZsp8TQdPiUo6Q4r": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-MtbprT8bv1YBioXVDxhz5WPFUpJcaSD8g": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-N2L2ARtQsaGSrevWTnxSDyBnMWTsQ8CYF": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-NkW2mBuAGpXnizkbyRFWTNyGm1Vpq7MyU": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-Np2xeXNRvZXoJE8KKU3Yu5D6zxJx3dR5h": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-PL3s2HbzNsEG6HQps17JwjYtWzzsCs18g": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-PdbDnViJ6oYVA7yyyTEuKnPgSQSMg4uXk": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-PipTJwWq36zjzVkM6iKy1g9J4hwBpjtNu": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-PwPDbQW7zYRZiaJQ2NfT2WPavhHEk9cBQ": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-QDQevgGunAA4Zb394dYdX2VMsCf1x1xK2": {
"publicKey": null,
"weight": "500000000000000"
},
"NodeID-ka24YieeFgXobBr5qoumwoyXwGXhJ22A": {
"publicKey": null,
"weight": "500000000000000"
}
},
"id": 1
}
omega.issueTx
Issue a transaction to the Platform Chain.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.issueTx",
"params": {
"tx":"0xtx",
"encoding": "hex"
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "problem decoding transaction: encoding/hex: invalid byte: U+0074 't'",
"data": null
},
"id": 1
}
omega.listAddresses
List addresses controlled by the given user.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.listAddresses",
"params": {
"username":"myUsername",
"password":"myPassword"
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"error": {
"code": -32000,
"message": "problem retrieving user \"myUsername\": incorrect password: user \"myUsername\"",
"data": null
},
"id": 1
}
omega.sampleValidators
Sample validators from the specified Subnet.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc":"2.0",
"id" :1,
"method" :"omega.sampleValidators",
"params" :{
"size":2
}
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"validators": [
"NodeID-CkcQRgVCZegi5h5owh2UMK5C9gcz1mqHc",
"NodeID-Np2xeXNRvZXoJE8KKU3Yu5D6zxJx3dR5h"
]
},
"id": 1
}
omega.validatedBy
Get the Subnet that validates a given blockchain.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.validatedBy",
"params": {
"blockchainID": "faqcDVftkSVcZ2nESGxGKKZbNALcaU5AUc15SwwaiTkAgy3KK"
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"subnetID": "11111111111111111111111111111111LpoYY"
},
"id": 1
}
omega.validates
Get the IDs of the blockchains a Subnet validates.
Method: POST
https://odyssey.nownodes.io/ext/bc/O
Example body (raw)
{
"jsonrpc": "2.0",
"method": "omega.validates",
"params": {
"subnetID":"11111111111111111111111111111111LpoYY"
},
"id": 1
}
Example response: 200
{
"jsonrpc": "2.0",
"result": {
"blockchainIDs": [
"faqcDVftkSVcZ2nESGxGKKZbNALcaU5AUc15SwwaiTkAgy3KK",
"2YjjguzbzbhbpQYUioAcNmw5xbmiHKrae8S2HWVKLH6Ce7DiD6"
]
},
"id": 1
}
Last updated