Readonly
addressReadonly
blockchainReadonly
decimalsReadonly
nameReadonly
symbolSerializes priceToken and its price to struct object.
Optional
tokenStruct: Partial<PriceTokenStruct<BlockchainName>>Clones token with fetching new price.
Optional
tokenStruct: Partial<PriceTokenStruct<BlockchainName>>Static
createCreates PriceToken, fetching token's price.
Token structure.
Static
createCreates PriceToken based on token's address and blockchain.
Base token structure.
Static
createCreates array of Tokens based on tokens' addresses and blockchain.
Static
tokensMaps provided tokens to their addresses.
Generated using TypeDoc
Contains token structure with price in usd per 1 unit.