VyQuery_GetExchangeRate

Represents a query to get the exchange rate between two tokens on different chains.

QueryTypeDescription

FromChain

Sets the chain of the token to be exchanged from.

ToChain

Sets the chain of the token to be exchanged to.

FromToken

string

Sets the address of the token to be exchanged from.

ToToken

string

Sets the address of the token to be exchanged to.

Amount

double

Sets the amount of tokens to be exchanged.

OrderType

Sets the type of the exchange order.

Last updated