get_token_transfer_proxy

Documentation for eth_defi.velora.api.get_token_transfer_proxy function.

get_token_transfer_proxy(chain_id)

Get TokenTransferProxy contract address for a chain.

This is the contract that users must approve for token spending.

Warning

Approve TokenTransferProxy, NOT Augustus Swapper. Funds may be lost if approved to Augustus directly.

Parameters

chain_id (int) – Chain ID to get the address for

Returns

TokenTransferProxy contract address

Raises

KeyError – If chain is not supported by Velora

Return type

eth_typing.evm.HexAddress