pub struct OrderData {}Expand description
The signed order payload within a create-order request.
Matches the EIP-712 Order struct. Fields that represent on-chain
uint256 values (token_id, maker_amount, taker_amount) are serialized
as decimal strings to match the reference API format and avoid JSON
precision loss above 2^53.
Fields§
§salt: i64Unique order identifier (monotonic counter).
maker: StringChecksummed address of the order creator.
signer: StringSame as maker for EOA wallets.
taker: String0x000...000 for open orders (any taker can fill).
token_id: StringPosition ID — YES or NO token from market data (decimal string).
maker_amount: i64Amount the maker offers, scaled by 1e6.
taker_amount: i64Amount the maker wants in return, scaled by 1e6.
expiration: StringExpiration timestamp as decimal string. "0" = no expiration.
nonce: i32Order nonce.
fee_rate_bps: i32Fee rate in basis points.
side: u80 = BUY, 1 = SELL.
signature: StringThe EIP-712 signature (0x-prefixed hex, 65 bytes for EOA).
signature_type: u80 = EOA signature.