Class 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
    • Constructor Detail

      • TransactionBuilder

        public TransactionBuilder()
    • Method Detail

      • of

        public static TransactionBuilder.Builder of​(java.math.BigInteger nid)
        Deprecated.
        This method can be replaced by newBuilder()
        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