Class ContractTxRequest.Builder
- java.lang.Object
-
- com.klipwallet.app2app.api.request.ContractTxRequest.Builder
-
- Enclosing class:
- ContractTxRequest
public static class ContractTxRequest.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContractTxRequest.Builder
abi(java.lang.String val)
실행할 Contract의 ABI를 입력한다.ContractTxRequest
build()
ContractTxRequest.Builder
from(java.lang.String val)
(optional) 실행할 EOA 주소를 입력한다.ContractTxRequest.Builder
params(java.util.ArrayList<java.lang.Object> val)
실행할 Contract의 ABI에 대한 Parameters를 입력한다.ContractTxRequest.Builder
to(java.lang.String val)
실행할 Contract 주소를 입력한다.ContractTxRequest.Builder
value(java.lang.String val)
전송할 KLAY 금액을 입력한다.
-
-
-
Method Detail
-
to
public ContractTxRequest.Builder to(java.lang.String val)
실행할 Contract 주소를 입력한다.- Parameters:
val
- Contract Address- Returns:
- ContractTxRequest.Builder
-
value
public ContractTxRequest.Builder value(java.lang.String val)
전송할 KLAY 금액을 입력한다.- Parameters:
val
- KLAY- Returns:
- ContractTxRequest.Builder
-
abi
public ContractTxRequest.Builder abi(java.lang.String val)
실행할 Contract의 ABI를 입력한다.- Parameters:
val
- ABI- Returns:
- ContractTxRequest.Builder
-
params
public ContractTxRequest.Builder params(java.util.ArrayList<java.lang.Object> val)
실행할 Contract의 ABI에 대한 Parameters를 입력한다.- Parameters:
val
- Parameters- Returns:
- ContractTxRequest.Builder
-
from
public ContractTxRequest.Builder from(java.lang.String val)
(optional) 실행할 EOA 주소를 입력한다.- Parameters:
val
- EOA- Returns:
- ContractTxRequest.Builder
-
build
public ContractTxRequest build()
-
-