Interface Eip155Service
-
- All Implemented Interfaces:
public interface Eip155ServiceOrder Requestsrepresent requests for Dinari to createOrderson behalf of anAccount.Order Requestsare created when placing proxied orders or managed orders. See their respective descriptions for more details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceEip155Service.WithRawResponseA view of Eip155Service that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract Eip155Service.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract Eip155Service withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
createPermit
Eip155CreatePermitResponse createPermit(String accountId, Eip155CreatePermitParams params)
Generates a permit that can be signed and used to create an
OrderRequestusing Dinari's EVM smart contracts.This is a convenience method to prepare the transactions needed to create an
OrderRequestusing Dinari's EVM smart contracts. Once signed, the transactions can be sent to the EVM network to create the order. Note that the fee quote is already included in the transactions, so no additional fee quote lookup is needed.
-
createPermit
Eip155CreatePermitResponse createPermit(String accountId, Eip155CreatePermitParams params, RequestOptions requestOptions)
-
createPermit
Eip155CreatePermitResponse createPermit(Eip155CreatePermitParams params)
-
createPermit
abstract Eip155CreatePermitResponse createPermit(Eip155CreatePermitParams params, RequestOptions requestOptions)
-
createPermitTransaction
Eip155CreatePermitTransactionResponse createPermitTransaction(String accountId, Eip155CreatePermitTransactionParams params)
Prepare a transaction to be placed on EVM. The returned structure contains the necessary data to create an
EIP155Transactionobject.
-
createPermitTransaction
Eip155CreatePermitTransactionResponse createPermitTransaction(String accountId, Eip155CreatePermitTransactionParams params, RequestOptions requestOptions)
-
createPermitTransaction
Eip155CreatePermitTransactionResponse createPermitTransaction(Eip155CreatePermitTransactionParams params)
-
createPermitTransaction
abstract Eip155CreatePermitTransactionResponse createPermitTransaction(Eip155CreatePermitTransactionParams params, RequestOptions requestOptions)
-
submit
Eip155SubmitResponse submit(String accountId, Eip155SubmitParams params)
Submits a transaction for an EIP155 Order Request given the EIP155OrderRequest ID and Permit Signature.
An
EIP155OrderRequestrepresenting the proxied order is returned.
-
submit
Eip155SubmitResponse submit(String accountId, Eip155SubmitParams params, RequestOptions requestOptions)
-
submit
Eip155SubmitResponse submit(Eip155SubmitParams params)
-
submit
abstract Eip155SubmitResponse submit(Eip155SubmitParams params, RequestOptions requestOptions)
-
-
-
-