Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions pages/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@
"bridge": "Bridge",
"switch": "Switch",
"staking-extra": "Extra",
"-- Gaming": {
"type": "separator",
"title": "Making Games"
},
"gaming-overview": "Mirage Gaming",

"-- Support": {
"type": "separator",
Expand Down
7 changes: 4 additions & 3 deletions pages/advanced-api/javascript-sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,22 @@ Currently, `ankr.js` supports interaction with the following chains using their
* Ethereum: `eth`.
* Fantom: `fantom`.
* Flare: `flare`.
* Gnosis: `gnosis`
* Gnosis: `gnosis`.
* Linea: `linea`.
* Optimism: `optimism`.
* Polygon: `polygon`.
* Scroll: `scroll`.
* Stellar: `stellar`.
* Story: `story_mainnet`.
* Syscoin: `syscoin`.
* Telos: `telos`
* Telos: `telos`.
* Xai: `xai`.
* X Layer: `xlayer`

**Testnet**:

* Avalanche Fuji: `avalanche_fuji`.
* Base Sepolia: `base_sepolia`
* Base Sepolia: `base_sepolia`.
* Ethereum Holesky: `eth_holesky`.
* Ethereum Sepolia: `eth_sepolia`.
* Optimism Testnet: `optimism_testnet`.
Expand Down
12 changes: 6 additions & 6 deletions pages/advanced-api/nft-methods.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ Build your request using the parameters below.
* `params` (object): the data object containing request body parameters:
* `walletAddress` (string; required): an account address to query for NFTs; supports the Ethereum Name Service (ENS).
* `blockchain` (string): a chain or a combination of chains to query:
* Single chain: `arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`.
* Chains combination: `[arbitrum, avalanche, base, bsc, eth, fantom, flare, gnosis, optimism, polygon, scroll, stellar, story_mainnet, syscoin, telos, xai, xlayer, avalanche_fuji, base_sepolia, eth_holesky, eth_sepolia, optimism_testnet, polygon_amoy, story_aeneid_testnet]`.
* Single chain: `arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `linea`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`.
* Chains combination: `[arbitrum, avalanche, base, bsc, eth, fantom, flare, gnosis, linea, optimism, polygon, scroll, stellar, story_mainnet, syscoin, telos, xai, xlayer, avalanche_fuji, base_sepolia, eth_holesky, eth_sepolia, optimism_testnet, polygon_amoy, story_aeneid_testnet]`.
* All chains: leave the value empty to query all the chains available.
* `pageSize` (int32): a number of page results you'd like to get (default=10, max=50).
* `pageToken` (string): a token is provided at the end of the response body and can be referenced in the request to fetch the next page.
Expand Down Expand Up @@ -349,7 +349,7 @@ Build your request using the parameters below.
* `method` (string; required): a method used for the request.
* `params` (object): the data object containing request body parameters.

* `blockchain` (string; required): either of the supported chains (`arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`).
* `blockchain` (string; required): either of the supported chains (`arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `linea`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`).
* `contractAddress` (string): an address of the NFT contract the metadata belongs to; supports the Ethereum Name Service (ENS).
* `forceFetch` (boolean): source of NFT metadata — `true` the contract, `false` the database.
* `skipSyncCheck` (boolean): if set to `true`, the info will be returned regardless of indexer health.
Expand Down Expand Up @@ -397,7 +397,7 @@ A successful request returns, along with the general parameters, the `result` ob
* `result` (object): the data object containing the NFT metadata and NFT attributes:

* `metadata` (object): the data object containing the NFT metadata:
* `blockchain` (string; required): one of the supported chains (`arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`).
* `blockchain` (string; required): one of the supported chains (`arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `linea`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`).
* `contractAddress` (string): a contract address of the NFT Collection; supports the Ethereum Name Service (ENS).
* `contractType` (string): a contract type of the NFT the metadata belongs to (example: ERC721, ERC1155).
* `tokenId` (string): a token ID of the NFT the metadata belongs to (example: 7822).
Expand Down Expand Up @@ -551,7 +551,7 @@ Build your request using the parameters below.
* `method` (string; required): a method used for the request.
* `params` (object): the data object containing request body parameters.

* `blockchain` (string; required): either of the supported blockchains (`arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`).
* `blockchain` (string; required): either of the supported blockchains (`arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `linea`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`).
* `contractAddress` (string): a contract address of the NFT collection; supports the Ethereum Name Service (ENS).
* `pageSize` (integer): a number of results you'd like to get (max: `10000`, default: `1000`).
* `pageToken` (string): a current page token provided at the end of the response body; can be referenced in the request to fetch the next page.
Expand Down Expand Up @@ -690,7 +690,7 @@ Build your request using the parameters below.
* `params` (object): the data object containing request body parameters.

* `address` (array of strings; required): an address (or list of addresses) to search for transactions.
* `blockchain` (array of strings): either of the supported blockchains (`arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`).
* `blockchain` (array of strings): either of the supported blockchains (`arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `linea`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`).
* `descOrder` (boolean): choose data order, either descending (if `true`) or ascending (if `false`).
* `fromBlock` (integer): narrow your search indicating the block number to start from (inclusive; `>= 0`).
* `toBlock` (integer): narrow your search indicating the block number to end with (inclusive; `>= 0`).
Expand Down
3 changes: 2 additions & 1 deletion pages/advanced-api/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ Currently, Advanced API supports querying the following chains using their alias
* Ethereum: `eth`.
* Fantom: `fantom`.
* Flare: `flare`.
* Gnosis: `gnosis`
* Gnosis: `gnosis`.
* Linea: `linea`.
* Optimism: `optimism`.
* Polygon: `polygon`.
* Scroll: `scroll`.
Expand Down
7 changes: 4 additions & 3 deletions pages/advanced-api/python-sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,21 +81,22 @@ Currently, `ankr.py` supports interaction with the following chains using their
* Ethereum: `eth`.
* Fantom: `fantom`.
* Flare: `flare`.
* Gnosis: `gnosis`
* Gnosis: `gnosis`.
* Linea: `linea`.
* Optimism: `optimism`.
* Polygon: `polygon`.
* Scroll: `scroll`.
* Stellar: `stellar`.
* Story: `story_mainnet`.
* Syscoin: `syscoin`.
* Telos: `telos`
* Telos: `telos`.
* Xai: `xai`.
* X Layer: `xlayer`

**Testnet**:

* Avalanche Fuji: `avalanche_fuji`.
* Base Sepolia: `base_sepolia`
* Base Sepolia: `base_sepolia`.
* Ethereum Holesky: `eth_holesky`.
* Ethereum Sepolia: `eth_sepolia`.
* Optimism Testnet: `optimism_testnet`.
Expand Down
18 changes: 9 additions & 9 deletions pages/advanced-api/query-methods.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ Build your request using the parameters below.
* `params` (object): the data object containing request body parameters:

* `blockchain` (string): a chain or a combination of chains to query:
* Single chain: `arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`.
* Chains combination: `[arbitrum, avalanche, base, bsc, eth, fantom, flare, gnosis, optimism, polygon, scroll, stellar, story_mainnet, syscoin, telos, xai, xlayer, avalanche_fuji, base_sepolia, eth_holelsky, eth_sepolia, polygon_amoy, story_aeneid_testnet]`.
* Single chain: `arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `linea`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`.
* Chains combination: `[arbitrum, avalanche, base, bsc, eth, fantom, flare, gnosis, linea, optimism, polygon, scroll, stellar, story_mainnet, syscoin, telos, xai, xlayer, avalanche_fuji, base_sepolia, eth_holelsky, eth_sepolia, polygon_amoy, story_aeneid_testnet]`.
* All chains: leave the value empty to query all the chains available.

<Tabs
Expand Down Expand Up @@ -140,7 +140,7 @@ Build your request using the parameters below.
* `method` (string; required): a method used for the request.
* `params` (object): the data object containing request body parameters:

* `blockchain` (string; required): either of the supported chains (`arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`).
* `blockchain` (string; required): either of the supported chains (`arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `linea`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`).
* `decodeLogs` (boolean): set to `true` to decode logs, or to `false` if you don't need this kind of info.
* `decodeTxData` (boolean): set to `true` to decode transaction data, or to `false` if not interested in it.
* `descOrder` (boolean): choose data order, either descending (if `true`) or ascending (if `false`).
Expand Down Expand Up @@ -314,8 +314,8 @@ Build your request using the parameters below.

* `address` (array of strings): a contract address or a list of addresses from which the logs originate. Supported value formats: hex or array of hexes.
* `blockchain` (string): a chain or a combination of chains to query:
* Single chain: `arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`.
* Chains combination: `[arbitrum, avalanche, base, bsc, eth, fantom, flare, gnosis, optimism, polygon, scroll, stellar, story_mainnet, syscoin, telos, xai, xlayer, avalanche_fuji, base_sepolia, eth_holelsky, eth_sepolia, polygon_amoy, story_aeneid_testnet]`.
* Single chain: `arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `linea`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`.
* Chains combination: `[arbitrum, avalanche, base, bsc, eth, fantom, flare, gnosis, linea, optimism, polygon, scroll, stellar, story_mainnet, syscoin, telos, xai, xlayer, avalanche_fuji, base_sepolia, eth_holelsky, eth_sepolia, polygon_amoy, story_aeneid_testnet]`.
* All chains: leave the value empty to query all the chains available.
* `decodeLogs` (boolean): set to `true` to decode logs, or to `false` if you don't need this kind of info.
* `descOrder` (boolean): choose data order, either descending (if `true`) or ascending (if `false`).
Expand Down Expand Up @@ -540,8 +540,8 @@ Build your request using the parameters below.
* `params` (object): the data object containing request body parameters:

* `blockchain` (string): a chain or a combination of chains to query:
* Single chain: `arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`.
* Chains combination: `[arbitrum, avalanche, base, bsc, eth, fantom, flare, gnosis, optimism, polygon, scroll, stellar, story_mainnet, syscoin, telos, xai, xlayer, avalanche_fuji, base_sepolia, eth_holelsky, eth_sepolia, polygon_amoy, story_aeneid_testnet]`.
* Single chain: `arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `linea`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`.
* Chains combination: `[arbitrum, avalanche, base, bsc, eth, fantom, flare, gnosis, linea, optimism, polygon, scroll, stellar, story_mainnet, syscoin, telos, xai, xlayer, avalanche_fuji, base_sepolia, eth_holelsky, eth_sepolia, polygon_amoy, story_aeneid_testnet]`.
* All chains: leave the value empty to query all the chains available.
* `transactionHash` (string): a hash of the transactions you'd like to request the details for.
* `decodeLogs` (boolean): set to `true` to decode logs, or to `false` if you don't need this kind of info.
Expand Down Expand Up @@ -955,8 +955,8 @@ Build your request using the parameters below.

* `address` (string; required): an address to search for transactions.
* `blockchain` (string): a chain or a combination of chains to query:
* Single chain: `arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`.
* Chains combination: `[arbitrum, avalanche, base, bsc, eth, fantom, flare, gnosis, optimism, polygon, scroll, stellar, story_mainnet, syscoin, telos, xai, xlayer, avalanche_fuji, base_sepolia, eth_holelsky, eth_sepolia, polygon_amoy, story_aeneid_testnet]`.
* Single chain: `arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `linea`, `optimism`, `polygon`, `scroll`, `stellar`, `story_mainnet`, `syscoin`, `telos`, `xai`, `xlayer`, `avalanche_fuji`, `base_sepolia`, `eth_holesky`, `eth_sepolia`, `optimism_testnet`, `polygon_amoy`, `story_aeneid_testnet`.
* Chains combination: `[arbitrum, avalanche, base, bsc, eth, fantom, flare, gnosis, linea, optimism, polygon, scroll, stellar, story_mainnet, syscoin, telos, xai, xlayer, avalanche_fuji, base_sepolia, eth_holelsky, eth_sepolia, polygon_amoy, story_aeneid_testnet]`.
* All chains: leave the value empty to query all the chains available.
* `fromBlock` (integer): narrow your search indicating the block number to start from (inclusive; `>= 0`). Supported value formats: hex, decimal, "earliest", "latest".
* `toBlock` (integer): narrow your search indicating the block number to end with (inclusive; `>= 0`). Supported value formats: hex, decimal, "earliest", "latest".
Expand Down
7 changes: 4 additions & 3 deletions pages/advanced-api/react-hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,22 @@ const Page = () => {
* Ethereum: `eth`.
* Fantom: `fantom`.
* Flare: `flare`.
* Gnosis: `gnosis`
* Gnosis: `gnosis`.
* Linea: `linea`.
* Optimism: `optimism`.
* Polygon: `polygon`.
* Scroll: `scroll`.
* Stellar: `stellar`.
* Story: `story_mainnet`.
* Syscoin: `syscoin`.
* Telos: `telos`
* Telos: `telos`.
* Xai: `xai`.
* X Layer: `xlayer`

**Testnet**:

* Avalanche Fuji: `avalanche_fuji`.
* Base Sepolia: `base_sepolia`
* Base Sepolia: `base_sepolia`.
* Ethereum Holesky: `eth_holesky`.
* Ethereum Sepolia: `eth_sepolia`.
* Optimism Testnet: `optimism_testnet`.
Expand Down
Loading