Create EIP155 Order Request Permit

Generates a permit that can be signed and used to create an OrderRequest using Dinari's EVM smart contracts.

This is a convenience method to prepare the transactions needed to create an OrderRequest using 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.

Path Params
uuid
required
Body Params
string
enum
required

CAIP-2 chain ID of the blockchain where the Order will be placed.

Allowed:
string
enum
required

Time in force. Indicates how long Order is valid for.

Allowed:
string
enum
required

Indicates whether Order is a buy or sell.

Allowed:
string
enum
required

Type of Order.

Allowed:
string
required

Address of payment token.

number | null
≥ 0

Amount of payment tokens involved. Required for market buy Orders.

number | null
≥ 0

Amount of dShare asset tokens involved. Required for limit Order Requests and market sell Order Requests. Must be a positive number with a precision of up to 4 decimal places for limit Order Requests or up to 6 decimal places for market sell Order Requests.

number | null
≥ 0

Price per asset in the asset's native currency. USD for US equities and ETFs. Required for limit Orders.

uuid | null

The ID of the Stock for which the Order is being placed.

uuid | null

The ID of the Token for which the Order is being placed.

uuid | null

The ID of the Alloy for which the Order is being placed.

string | null

Customer-supplied unique identifier to map this Order to an order in the customer's systems.

Responses

Language
Credentials
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json