Constructors
constructor
- new TaquitoClient(tezos: TezosToolkit, tracer: Tracer): TaquitoClient
Parameters
- tezos: TezosToolkit
- tracer: Tracer
Methods
batch
- batch(transactionParams: WalletTransferParams[]): Promise<WalletOperation>
Parameters
- transactionParams: WalletTransferParams[]
Returns Promise<WalletOperation>
call
- call(params: WalletTransferParams): Promise<TransactionWalletOperation>
Parameters
- params: WalletTransferParams
Returns Promise<TransactionWalletOperation>
executeView
- executeView(
contractAddress: string,
viewName: string,
parameters: any[],
): Promise<RpcResponseData> Parameters
- contractAddress: string
- viewName: string
- parameters: any[]
Returns Promise<RpcResponseData>
getBigMapValue
- getBigMapValue<TStorage>(
contractAddress: string,
bigMapSelector: (storage: TStorage) => BigMapAbstraction,
key: RpcRequestScalarData<string, string>,
): Promise<RpcResponseData> Parameters
- contractAddress: string
- bigMapSelector: (storage: TStorage) => BigMapAbstraction
- key: RpcRequestScalarData<string, string>
Returns Promise<RpcResponseData>
getConstants
- getConstants(): Promise<ConstantsResponse>
Returns Promise<ConstantsResponse>
getPkh
- getPkh(): Promise<string>
Returns Promise<string>
params
- params(
contractAddress: string,
method: string,
parameters: any[],
operationParams?: AdditionalOperationParams & { amount?: number },
): Promise<WalletTransferParams> Parameters
- contractAddress: string
- method: string
- parameters: any[]
Optional
operationParams: AdditionalOperationParams & { amount?: number }
Returns Promise<WalletTransferParams>
storage
- storage<T>(contractAddress: string, fresh?: boolean): Promise<T>
Parameters
- contractAddress: string
- fresh: boolean = false
Returns Promise<T>