Skip to main content
GET
Quote an agent trade

Authorizations

Authorization
string
header
required

Partner key: Authorization: Bearer rk_.... DM @rapidssh. Leave it out for the public tier.

Query Parameters

policy
string
required
in
string
required
Pattern: ^0x[0-9a-fA-F]{40}$
out
string
required
Pattern: ^0x[0-9a-fA-F]{40}$
amountIn
string
required

Unsigned integer as a decimal string.

Pattern: ^[0-9]+$

Response

The trade to sign with the agent key.

quotedOut
string

What the recipient gets after Route, partner and gas fees.

Pattern: ^[0-9]+$
fee
string

Unsigned integer as a decimal string.

Pattern: ^[0-9]+$
minOut
string

Unsigned integer as a decimal string.

Pattern: ^[0-9]+$
trade
object
typedData
object