Web3ClientWithCredential

class Web3ClientWithCredential(client: Web3j, val account: Account, retries: Int, sleepDuration: Int) extends Web3Client
class Object
trait Matchable
class Any

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]
def transfer(to: Address, value: BigDecimal, gasPriceFactor: Double): Try[TxHash]

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 gasPrice: BigInt
Inherited from:
Web3Client
def getPendingNonce: 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

Concrete fields

val rawTxManager: RawTransactionManager

Inherited fields

Inherited from:
Web3Client
protected val logger: Logger
Inherited from:
Web3Client
val txManager: ReadonlyTransactionManager
Inherited from:
Web3Client