Interface FiatRampParams

Interface representing the result of Checkout.createFiatRampUrl.

interface FiatRampParams {
    exchangeType: ONRAMP;
    web3Provider: Web3Provider;
    tokenAmount?: string;
    tokenAddress?: string;
    passport?: any;
}

Properties

exchangeType: ONRAMP

The ExchangeType specified.

web3Provider: Web3Provider

The Web3Provider used to exchange.

tokenAmount?: string

The token amount specified as input.

tokenAddress?: string

The token address specified as input.

passport?: any

The Passport instance specified as input.