UNPKG

@tatumio/tatum-v1

Version:

Tatum API client allows browsers and Node.js clients to interact with Tatum API.

9 lines (8 loc) 749 B
import { ClassConstructor } from 'class-transformer'; import Web3 from 'web3'; import { Currency } from '../model'; import Caver from 'caver-js'; export declare const helperBroadcastTx: (chain: Currency, txData: string, signatureId?: string | undefined) => Promise<import("../model").TransactionHash>; export declare const helperGetWeb3Client: (testnet: boolean, chain: Currency, provider?: string | undefined) => Web3 | Caver; export declare const helperPrepareSCCall: (testnet: boolean, body: any, clazz: ClassConstructor<object>, methodName: string, params: any[], methodSig?: string | undefined, provider?: string | undefined, abi?: any[]) => Promise<string>; export declare const normalizeAddress: (chain: Currency, address: string) => string;