Web3ClientWithCredential
class Web3ClientWithCredential(client: Web3j, val account: Account, retries: Int, sleepDuration: Int) extends Web3Client
Value members
Concrete methods
def transact[IN, OUT, T](function: ABIFunction[IN, OUT])(to: Address, params: T, nonce: Option[BigInt], gasPrice: Option[BigInt], gasPriceFactor: Double, gasLimit: Option[BigInt], value: BigInt)(using converter: ConvertFromScala[T, IN]): Try[TransactionReceipt]
Inherited methods
def call[IN, OUT, T](function: ABIFunction[IN, OUT])(to: Address, params: T, nonce: Option[BigInt], gasPrice: Option[BigInt], gasLimit: Option[BigInt], value: BigInt, block: Option[BigInt])(using converter: ConvertFromScala[T, IN]): Try[OUT]
模拟执行
模拟执行
- Inherited from:
- Web3Client
def estimateGas(from: Address, to: Address, nonce: BigInt, value: BigInt, input: Array[Byte]): BigInt
- Inherited from:
- Web3Client
def read[IN, OUT, T](function: ABIFunction[IN, OUT])(to: Address, params: T, block: Option[BigInt])(using converter: ConvertFromScala[T, IN]): Try[OUT]
读取合约数据
读取合约数据
- Inherited from:
- Web3Client