Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

ext-taquito 2.2.0

Install from the command line:
Learn more about npm packages
$ npm install @tzkt/ext-taquito@2.2.0
Install via package.json:
"@tzkt/ext-taquito": "2.2.0"

About this version

TzKT taquito extension

Extension that will reduce the load on the main node and speed up interaction with data

Install

npm i @tzkt/ext-taquito

Use

Basic config

Simplest example of integrating and using an extension with basic settings.

import { TezosToolkit } from '@taquito/taquito';
import { TzktExtension } from '@tzkt/ext-taquito';

const Tezos = new TezosToolkit('https://rpc.tzkt.io/mainnet');
Tezos.addExtension(new TzktExtension());

const balance = await Tezos.tz.getBalance('tz1WMrppYADANWkNus4vs8xqKztacLETnKmT')

Change api endpoint

You may override base URL used by the package in the following manner. This may come useful should you want to make requests to a test network or to your custom server.

Tezos.addExtension(new TzktExtension({url: 'https://api.tzkt.io'}));

Details


Assets

  • ext-taquito-2.2.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all