translate_token_details#

API documentation for tradeexecutor.ethereum.token.translate_token_details Python function.

translate_token_details(token)[source]#

Translate on-chain fetched ERC-20 details to the persistent format.

Parameters:

token (TokenDetails) – On-chain token data

Returns:

Persistent asset identifier

Return type:

AssetIdentifier