Chainbase Docs home page
Search or ask...
Support
Search...
Navigation
Basic API
Contract call
Learn and build
Run a node
Data Catalog
Data Platform
Crypto World Model
API Reference
API Reference
Overview
API Status Code
Json Web Token(JWT)
Web3 API
Basic API
GET
Get latest block number
GET
Get block by number
GET
Get transaction
GET
Get transactions by account
GET
Get events by contract
POST
Contract call
Balance API
Token API
NFT API
Domain API
SQL API
Alpha
Classic(Deprecated)
Webhook API
Webhook API
Node RPC API
EVM RPC API
Aptos RPC API
Sui RPC API
Ton RPC API
Basic API
Contract call
Calls a specific function for the specified contract.
POST
/
v1
/
contract
/
call
Try it
Headers
x-api-key
string
required
Body
application/json
abi
string
required
chain_id
integer
required
contract_address
string
required
function_name
string
required
params
any[]
required
to_block
string
required
Response
200 - application/json
data
any[]
required
code
integer
default:
0
message
string
default:
ok
Get events by contract
Get ERC20 token balances