getPair

getPair

function getPair(
        address base,
        address quote
) public view returns (address book)
Returns the address of the orderbook for the given base and quote asset addresses.

Parameters

Name
Type
Description

base

address

Address of the base asset for the trading pair.

quote

address

Address of the quote asset for the trading pair.

Returns

  • address book if the order was successfully executed, otherwise it throws error.

Last updated