Package foundation.icon.icx
Class TransactionBuilder
- java.lang.Object
-
- foundation.icon.icx.TransactionBuilder
-
public final class TransactionBuilder extends java.lang.Object
Builder for the transaction to send
There are four builder types.
Builder is a basic builder to send ICXs.
CallBuilder, DeployBuilder, MessageBuilder is an extended builder for each purpose. They can be initiated from Builder.- See Also:
- ICON JSON-RPC API
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransactionBuilder.Builder
A Builder for the simple icx sending transaction.static class
TransactionBuilder.CallBuilder
A Builder for the calling SCORE transaction.static class
TransactionBuilder.DeployBuilder
A Builder for the deploy transaction.static class
TransactionBuilder.DepositBuilder
A Builder for the deposit transaction.static class
TransactionBuilder.MessageBuilder
A Builder for the message transaction.
-
Constructor Summary
Constructors Constructor Description TransactionBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TransactionBuilder.Builder
newBuilder()
Creates a builder to make a transaction to sendstatic TransactionBuilder.Builder
of(NetworkId nid)
Deprecated.This method can be replaced bynewBuilder()
static TransactionBuilder.Builder
of(java.math.BigInteger nid)
Deprecated.This method can be replaced bynewBuilder()
-
-
-
Method Detail
-
of
public static TransactionBuilder.Builder of(NetworkId nid)
Deprecated.This method can be replaced bynewBuilder()
Creates a builder for the given network ID- Parameters:
nid
- network ID- Returns:
- new builder
-
of
public static TransactionBuilder.Builder of(java.math.BigInteger nid)
Deprecated.This method can be replaced bynewBuilder()
Creates a builder for the given network ID- Parameters:
nid
- network ID in BigInteger- Returns:
- new builder
-
newBuilder
public static TransactionBuilder.Builder newBuilder()
Creates a builder to make a transaction to send- Returns:
- new builder
-
-