Once sign up, a
Project ID is generated for your project, to use within your app to make requests to tezoslink.net.
Then, add the tezoslink.net RPC endpoint to your prefered Tezos JS library.
i.e with Sotez :
const sotez = new Sotez('https://<NETWORK>.tezoslink.net/rpc/<YOUR_PROJECT_ID>');
Use one of these endpoints as your Tezos client provider.
|NETWORK|DESCRIPTION|URL | |-------|-----------|---------------------------------------------------| |Mainnet| JSON/RPC |https://mainnet.tezoslink.net/rpc/<YOUR_PROJECT_ID>| |Testnet| JSON/RPC |https://testnet.tezoslink.net/rpc/<YOUR_PROJECT_ID>|
# Be sure to replace YOUR-PROJECT-ID with a Project ID from your Tezos Link dashboard $ curl https://mainnet.tezoslink.net/rpc/<YOUR_PROJECT_ID>/chains/main/blocks/head
You should receive the last received block.
Project ID authorize requests.
All requests of type
/chains/main/blocks(.*?) are accepted.
Example of valid paths:
Tezos has three types of nodes:
- Full mode (default mode)
- Rolling mode
- Archive mode
We use two types of mode:
- Archive to store the whole blockchain. Archive is the heaviest mode as it keeps the whole chain data to be able to query any information stored on the chain since the genesis. It is particularly suitable for indexers or block explorer, that is why we use archive nodes.
- Rolling to store last blocks (and scale them faster)