Skip to content

Commit c8a7e6f

Browse files
authored
Merge pull request #1925 from Ankr-network/stage
feat: DOCS-864 Linea added to aapi and Ankr Gaming removed
2 parents f18d77a + aa52a87 commit c8a7e6f

9 files changed

Lines changed: 38 additions & 49 deletions

File tree

pages/_meta.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,6 @@
4444
"bridge": "Bridge",
4545
"switch": "Switch",
4646
"staking-extra": "Extra",
47-
"-- Gaming": {
48-
"type": "separator",
49-
"title": "Making Games"
50-
},
51-
"gaming-overview": "Mirage Gaming",
5247

5348
"-- Support": {
5449
"type": "separator",

pages/advanced-api/javascript-sdk.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,22 @@ Currently, `ankr.js` supports interaction with the following chains using their
4848
* Ethereum: `eth`.
4949
* Fantom: `fantom`.
5050
* Flare: `flare`.
51-
* Gnosis: `gnosis`
51+
* Gnosis: `gnosis`.
52+
* Linea: `linea`.
5253
* Optimism: `optimism`.
5354
* Polygon: `polygon`.
5455
* Scroll: `scroll`.
5556
* Stellar: `stellar`.
5657
* Story: `story_mainnet`.
5758
* Syscoin: `syscoin`.
58-
* Telos: `telos`
59+
* Telos: `telos`.
5960
* Xai: `xai`.
6061
* X Layer: `xlayer`
6162

6263
**Testnet**:
6364

6465
* Avalanche Fuji: `avalanche_fuji`.
65-
* Base Sepolia: `base_sepolia`
66+
* Base Sepolia: `base_sepolia`.
6667
* Ethereum Holesky: `eth_holesky`.
6768
* Ethereum Sepolia: `eth_sepolia`.
6869
* Optimism Testnet: `optimism_testnet`.

pages/advanced-api/nft-methods.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ Build your request using the parameters below.
4242
* `params` (object): the data object containing request body parameters:
4343
* `walletAddress` (string; required): an account address to query for NFTs; supports the Ethereum Name Service (ENS).
4444
* `blockchain` (string): a chain or a combination of chains to query:
45-
* 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`.
46-
* 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]`.
45+
* 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`.
46+
* 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]`.
4747
* All chains: leave the value empty to query all the chains available.
4848
* `pageSize` (int32): a number of page results you'd like to get (default=10, max=50).
4949
* `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.
@@ -349,7 +349,7 @@ Build your request using the parameters below.
349349
* `method` (string; required): a method used for the request.
350350
* `params` (object): the data object containing request body parameters.
351351

352-
* `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`).
352+
* `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`).
353353
* `contractAddress` (string): an address of the NFT contract the metadata belongs to; supports the Ethereum Name Service (ENS).
354354
* `forceFetch` (boolean): source of NFT metadata — `true` the contract, `false` the database.
355355
* `skipSyncCheck` (boolean): if set to `true`, the info will be returned regardless of indexer health.
@@ -397,7 +397,7 @@ A successful request returns, along with the general parameters, the `result` ob
397397
* `result` (object): the data object containing the NFT metadata and NFT attributes:
398398

399399
* `metadata` (object): the data object containing the NFT metadata:
400-
* `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`).
400+
* `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`).
401401
* `contractAddress` (string): a contract address of the NFT Collection; supports the Ethereum Name Service (ENS).
402402
* `contractType` (string): a contract type of the NFT the metadata belongs to (example: ERC721, ERC1155).
403403
* `tokenId` (string): a token ID of the NFT the metadata belongs to (example: 7822).
@@ -551,7 +551,7 @@ Build your request using the parameters below.
551551
* `method` (string; required): a method used for the request.
552552
* `params` (object): the data object containing request body parameters.
553553

554-
* `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`).
554+
* `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`).
555555
* `contractAddress` (string): a contract address of the NFT collection; supports the Ethereum Name Service (ENS).
556556
* `pageSize` (integer): a number of results you'd like to get (max: `10000`, default: `1000`).
557557
* `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.
@@ -690,7 +690,7 @@ Build your request using the parameters below.
690690
* `params` (object): the data object containing request body parameters.
691691

692692
* `address` (array of strings; required): an address (or list of addresses) to search for transactions.
693-
* `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`).
693+
* `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`).
694694
* `descOrder` (boolean): choose data order, either descending (if `true`) or ascending (if `false`).
695695
* `fromBlock` (integer): narrow your search indicating the block number to start from (inclusive; `>= 0`).
696696
* `toBlock` (integer): narrow your search indicating the block number to end with (inclusive; `>= 0`).

pages/advanced-api/overview.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ Currently, Advanced API supports querying the following chains using their alias
3232
* Ethereum: `eth`.
3333
* Fantom: `fantom`.
3434
* Flare: `flare`.
35-
* Gnosis: `gnosis`
35+
* Gnosis: `gnosis`.
36+
* Linea: `linea`.
3637
* Optimism: `optimism`.
3738
* Polygon: `polygon`.
3839
* Scroll: `scroll`.

pages/advanced-api/python-sdk.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,21 +81,22 @@ Currently, `ankr.py` supports interaction with the following chains using their
8181
* Ethereum: `eth`.
8282
* Fantom: `fantom`.
8383
* Flare: `flare`.
84-
* Gnosis: `gnosis`
84+
* Gnosis: `gnosis`.
85+
* Linea: `linea`.
8586
* Optimism: `optimism`.
8687
* Polygon: `polygon`.
8788
* Scroll: `scroll`.
8889
* Stellar: `stellar`.
8990
* Story: `story_mainnet`.
9091
* Syscoin: `syscoin`.
91-
* Telos: `telos`
92+
* Telos: `telos`.
9293
* Xai: `xai`.
9394
* X Layer: `xlayer`
9495

9596
**Testnet**:
9697

9798
* Avalanche Fuji: `avalanche_fuji`.
98-
* Base Sepolia: `base_sepolia`
99+
* Base Sepolia: `base_sepolia`.
99100
* Ethereum Holesky: `eth_holesky`.
100101
* Ethereum Sepolia: `eth_sepolia`.
101102
* Optimism Testnet: `optimism_testnet`.

pages/advanced-api/query-methods.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ Build your request using the parameters below.
4242
* `params` (object): the data object containing request body parameters:
4343

4444
* `blockchain` (string): a chain or a combination of chains to query:
45-
* 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`.
46-
* 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]`.
45+
* 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`.
46+
* 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]`.
4747
* All chains: leave the value empty to query all the chains available.
4848

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

143-
* `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`).
143+
* `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`).
144144
* `decodeLogs` (boolean): set to `true` to decode logs, or to `false` if you don't need this kind of info.
145145
* `decodeTxData` (boolean): set to `true` to decode transaction data, or to `false` if not interested in it.
146146
* `descOrder` (boolean): choose data order, either descending (if `true`) or ascending (if `false`).
@@ -314,8 +314,8 @@ Build your request using the parameters below.
314314

315315
* `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.
316316
* `blockchain` (string): a chain or a combination of chains to query:
317-
* 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`.
318-
* 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]`.
317+
* 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`.
318+
* 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]`.
319319
* All chains: leave the value empty to query all the chains available.
320320
* `decodeLogs` (boolean): set to `true` to decode logs, or to `false` if you don't need this kind of info.
321321
* `descOrder` (boolean): choose data order, either descending (if `true`) or ascending (if `false`).
@@ -540,8 +540,8 @@ Build your request using the parameters below.
540540
* `params` (object): the data object containing request body parameters:
541541

542542
* `blockchain` (string): a chain or a combination of chains to query:
543-
* 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`.
544-
* 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]`.
543+
* 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`.
544+
* 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]`.
545545
* All chains: leave the value empty to query all the chains available.
546546
* `transactionHash` (string): a hash of the transactions you'd like to request the details for.
547547
* `decodeLogs` (boolean): set to `true` to decode logs, or to `false` if you don't need this kind of info.
@@ -955,8 +955,8 @@ Build your request using the parameters below.
955955

956956
* `address` (string; required): an address to search for transactions.
957957
* `blockchain` (string): a chain or a combination of chains to query:
958-
* 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`.
959-
* 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]`.
958+
* 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`.
959+
* 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]`.
960960
* All chains: leave the value empty to query all the chains available.
961961
* `fromBlock` (integer): narrow your search indicating the block number to start from (inclusive; `>= 0`). Supported value formats: hex, decimal, "earliest", "latest".
962962
* `toBlock` (integer): narrow your search indicating the block number to end with (inclusive; `>= 0`). Supported value formats: hex, decimal, "earliest", "latest".

pages/advanced-api/react-hooks.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,22 @@ const Page = () => {
5858
* Ethereum: `eth`.
5959
* Fantom: `fantom`.
6060
* Flare: `flare`.
61-
* Gnosis: `gnosis`
61+
* Gnosis: `gnosis`.
62+
* Linea: `linea`.
6263
* Optimism: `optimism`.
6364
* Polygon: `polygon`.
6465
* Scroll: `scroll`.
6566
* Stellar: `stellar`.
6667
* Story: `story_mainnet`.
6768
* Syscoin: `syscoin`.
68-
* Telos: `telos`
69+
* Telos: `telos`.
6970
* Xai: `xai`.
7071
* X Layer: `xlayer`
7172

7273
**Testnet**:
7374

7475
* Avalanche Fuji: `avalanche_fuji`.
75-
* Base Sepolia: `base_sepolia`
76+
* Base Sepolia: `base_sepolia`.
7677
* Ethereum Holesky: `eth_holesky`.
7778
* Ethereum Sepolia: `eth_sepolia`.
7879
* Optimism Testnet: `optimism_testnet`.

0 commit comments

Comments
 (0)