read_contract
Retrieve data from smart contracts by calling view/pure functions using the contract address, ABI, and function name. Supports multiple networks including BSC, Ethereum, and Base.
Instructions
Read data from a smart contract by calling a view/pure function
Input Schema
Name | Required | Description | Default |
---|---|---|---|
abi | Yes | The ABI of the smart contract function, as a JSON array | |
args | No | The arguments to pass to the function | |
contractAddress | Yes | The address of the smart contract to interact with | |
functionName | Yes | The name of the function to call on the contract | |
network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from bnbchain-mcp
- approve_token_spending
- check_nft_ownership
- estimate_gas
- get_address_from_private_key
- get_block_by_hash
- get_block_by_number
- get_chain_info
- get_erc1155_balance
- get_erc1155_token_uri
- get_erc20_balance
- get_erc20_token_info
- get_latest_block
- get_native_balance
- get_nft_balance
- get_nft_info
- get_supported_networks
- get_transaction
- get_transaction_receipt
- is_contract
- read_contract
- resolve_ens
- transfer_erc1155
- transfer_erc20
- transfer_native_token
- transfer_nft
- write_contract
Related Tools
- @mcpdotdirect/evm-mcp-server
- @crazyrabbitLTC/mcp-ethers-server
- @5ajaki/veri5ight
- @NaniDAO/agentek
- @Bankless/onchain-mcp