2.2.1 • Published 8 months ago

@tzkt/ext-taquito v2.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

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'}));
2.2.1

8 months ago

2.2.0

1 year ago

2.1.0

1 year ago

1.0.2

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago