ERC20Item

interface ERC20Item {
    type: Erc20;
    contract_address: string;
    amount: string;
}

Properties

type: Erc20

Token type user is offering, which in this case is ERC20

ERC20Item

contract_address: string

Address of ERC20 token

ERC20Item

amount: string

A string representing the price at which the user is willing to sell the token. This value is provided in the smallest unit of the token (e.g., wei for Ethereum).

ERC20Item