Web3Client

class Web3Client(val client: Web3j, val fromAddress: Address)
class Object
trait Matchable
class Any

Value members

Concrete 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]

模拟执行

模拟执行

def estimateGas(from: Address, to: Address, nonce: BigInt, value: BigInt, input: Array[Byte]): BigInt
def gasPrice: BigInt
def getPendingNonce: BigInt
def read[IN, OUT, T](function: ABIFunction[IN, OUT])(to: Address, params: T, block: Option[BigInt])(using converter: ConvertFromScala[T, IN]): Try[OUT]

读取合约数据

读取合约数据

Concrete fields

val client: Web3j
val txManager: ReadonlyTransactionManager