Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface ContractSendMethod
import { type ContractSendMethod } from "https://deno.land/x/web3@v0.11.1/packages/web3-eth-contract/types/index.d.ts";

Methods

send(options: SendOptions, callback?: (err: Error, transactionHash: string) => void): PromiEvent<Contract>
call(options?: CallOptions, callback?: (err: Error, result: any) => void): Promise<any>
estimateGas(options: EstimateGasOptions, callback?: (err: Error, gas: number) => void): Promise<number>
estimateGas(callback: (err: Error, gas: number) => void): Promise<number>
estimateGas(options: EstimateGasOptions, callback: (err: Error, gas: number) => void): Promise<number>
estimateGas(options: EstimateGasOptions): Promise<number>
estimateGas(): Promise<number>
encodeABI(): string