get_token_messenger_v2

Documentation for eth_defi.cctp.transfer.get_token_messenger_v2 function.

get_token_messenger_v2(web3)

Load the TokenMessengerV2 contract at its known address.

Automatically selects mainnet or testnet address based on the connected chain.

Parameters

web3 (web3.main.Web3) – Web3 connection

Returns

Contract proxy for TokenMessengerV2

Return type

web3.contract.contract.Contract