Class Eip155PrepareOrderResponse.TransactionData
-
- All Implemented Interfaces:
public final class Eip155PrepareOrderResponse.TransactionDataInformation about a transaction to be signed with a wallet and submitted on chain.
Typically the transactions will include an ERC20 approval transaction to allow the Dinari smart contract to spend the payment token or Dshare asset tokens on behalf of the user, followed by a transaction to call the Dinari smart contract to create an
Order.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEip155PrepareOrderResponse.TransactionData.BuilderA builder for TransactionData.
-
Method Summary
Modifier and Type Method Description final JsonValue_abi()JSON ABI of the smart contract function encoded in the transaction. final JsonValue_args()Arguments to the smart contract function encoded in the transaction. final StringcontractAddress()Smart contract address that the transaction should call. final Stringdata()Hex-encoded function call. final JsonField<String>_contractAddress()Returns the raw JSON value of contractAddress. final JsonField<String>_data()Returns the raw JSON value of data. final Map<String, JsonValue>_additionalProperties()final Eip155PrepareOrderResponse.TransactionData.BuildertoBuilder()final Eip155PrepareOrderResponse.TransactionDatavalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Eip155PrepareOrderResponse.TransactionData.Builderbuilder()Returns a mutable builder for constructing an instance of TransactionData. -
-
Method Detail
-
_abi
final JsonValue _abi()
JSON ABI of the smart contract function encoded in the transaction. Provided for informational purposes.
-
_args
final JsonValue _args()
Arguments to the smart contract function encoded in the transaction. Provided for informational purposes.
-
contractAddress
final String contractAddress()
Smart contract address that the transaction should call.
-
_contractAddress
final JsonField<String> _contractAddress()
Returns the raw JSON value of contractAddress.
Unlike contractAddress, this method doesn't throw if the JSON field has an unexpected type.
-
_data
final JsonField<String> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Eip155PrepareOrderResponse.TransactionData.Builder toBuilder()
-
validate
final Eip155PrepareOrderResponse.TransactionData validate()
-
builder
final static Eip155PrepareOrderResponse.TransactionData.Builder builder()
Returns a mutable builder for constructing an instance of TransactionData.
The following fields are required:
.abi() .args() .contractAddress() .data()
-
-
-
-