Optional
params: ParamsWithKind[]TezosToolkit.batch has been deprecated in favor of TezosToolkit.contract.batch
Readonly
formatProvide access to smart contract utilities
Provide access to operation estimation utilities
Provide access to the currently used globalConstantsProvider
Provide access to tezos operation preparation utilities
Provide access to the currently used rpc client
Provide access to streaming utilities backed by an streamer implementation
Provide access to tezos account management
Gets an object containing the version of Taquito library and git sha of the commit this library is compiled from
a value of type FieldNumberingStrategy that controls how field numbers are calculated
Sets the strategy used for field numbering in Token execute/encode/decode to convert Michelson values to/from javascript objects
Optional
globalConstantsProvider: GlobalConstantsProviderSets global constants provider on the Tezos Taquito instance
const globalConst = new DefaultGlobalConstantsProvider();
globalConst.loadGlobalConstant({
"expruu5BTdW7ajqJ9XPTF3kgcV78pRiaBW3Gq31mgp3WSYjjUBYxre": { prim: "int" },
// ...
})
Tezos.setGlobalConstantsProvider(globalConst);
Optional
injectorProvider: InjectorSets injector provider on the Tezos Taquito instance
Optional
packer: PackerSets Packer provider on the Tezos Taquito instance
Tezos.setPackerProvider(new MichelCodecPacker())
Optional
parserProvider: ParserProviderSets parser provider on the Tezos Taquito instance
rpc url or rpcClient to use to interact with the Tezos network
Sets configuration on the Tezos Taquito instance. Allows user to choose which signer, rpc client, rpc url, forger and so forth
Tezos.setProvider({rpc: 'https://mainnet.ecadinfra.com/', signer: new InMemorySigner.fromSecretKey(“edsk...”)})
Tezos.setProvider({ config: { confirmationPollingTimeoutSecond: 300 }})
Optional
readProvider: TzReadProviderSets read provider on the Tezos Taquito instance By default reads are done from the RPC usign the RpcReadAdapter class, this can be overridden to read from an indexer that implements the TzReadProvider interface
Optional
signer: SignerSets signer provider on the Tezos Taquito instance.
Tezos.setSignerProvider(new InMemorySigner.fromSecretKey('edsk...'))
Optional
stream: string | SubscribeProviderSets stream provider on the Tezos Taquito instance
Tezos.setStreamProvider(...)
Optional
wallet: WalletProviderSets wallet provider on the Tezos Taquito instance
Tezos.setWalletProvider(...)
Generated using TypeDoc
Description
Facade class that surfaces all of the libraries capability and allow it's configuration
Param: _rpc
The RPC server to use