Sign Message
This function signs a message, typically an order, using the Limit Order SDK.
Example:
Order:
signer
string
The wallet address of the order creator.
maker_asset
string
Asset being offered by the maker. Represented as a contract address or asset identifier.
taker_asset
string
Asset the maker wishes to receive. Represented as a contract address or asset identifier.
maker_amount
number
Amount of the maker asset being offered, in the smallest unit of the asset.
taker_amount
number
Amount of the taker asset the maker wishes to receive, in the smallest unit of the asset.
order_price
number
Price at which the assets are exchanged.
expiration
number
Unix timestamp indicating when the order expires.
use_solver
boolean
Indicates if a solver is used to settle the order.
partial_fill
boolean
Indicates if the order can be filled partially.
Response:
orderHash
string
A unique identifier for the order, typically generated by hashing the order's details.
typedData
typedData.TypedData
Structured data representing the order, formatted according to EIP-712 Typed Data standards.
Last updated