toJS property

JSCallParameters get toJS

Implementation

JSCallParameters get toJS => JSCallParameters(
      account: account?.toJS,
      data: data?.toJS,
      to: to?.toJS,
      accessList: accessList?.jsify() as JSArray<JSObject>?,
      gas: gas?.toJS,
      gasPrice: gasPrice?.toJS,
      maxFeePerGas: maxFeePerGas?.toJS,
      maxPriorityFeePerGas: maxPriorityFeePerGas?.toJS,
      nonce: nonce?.toJS,
      value: value?.toJS,
      blockNumber: blockNumber?.toJS,
      blockTag: blockTag?.toJS,
      chainId: chainId?.toJS,
    );