absolutepay (Node SDK) - v0.7.1
    Preparing search index...

    Inputs for requesting a conversion quote. Specify EXACTLY ONE of sellAmount / buyAmount.

    interface QuoteParams {
        buyAmount?: string;
        buyCurrency: string;
        sellAmount?: string;
        sellCurrency: string;
    }
    Index

    Properties

    buyAmount?: string

    Fixed amount of buyCurrency to receive, as a decimal string. Specify exactly one of sellAmount / buyAmount.

    buyCurrency: string

    Asset you are converting TO, e.g. "USDC". Required.

    sellAmount?: string

    Fixed amount of sellCurrency to spend, as a decimal string. Specify exactly one of sellAmount / buyAmount.

    sellCurrency: string

    Asset you are converting FROM, e.g. "USDT". Required.