Web3 API Reference

The complete reference documentation for our Web3 integration APIs. Build blockchain applications with real-time data access and smart contract interactions.

🔍

Core

12 Methods

Smart Contracts

18 Methods

Advanced

9 Methods

sendTransaction

Send a raw transaction to the blockchain network using EVM compatibility mode.

Request Method
{
  "from": "0x...",
  "to": "0x...",
  "value": "0x186a0",
  "gasPrice": "0x3b9aca00",
  "signature": "0x..."
}
Response
{
  "txHash": "0x...",
  "blockNumber": "0x5208",
  "gasUsed": "0x5208"
}

deployContract

Deploy smart contracts to the network with optional ABI registration.

Request Method
{
  "contractBin": "0x...",
  "deployer": "0x...",
  "constructorArgs": ["0x...", "0x..."]
}
Response
{
  "contractAddress": "0x...",
  "txHash": "0x...",
  "abiSchema": "..."
}

getBlock

Retrieve detailed block information from the blockchain.

Request Method
{
  "blockNumber": "latest",
  "includeTxs": true
}
Response
{
  "blockHash": "0x...",
  "miner": "0x...",
  "transactions": ["0x...", "0x..."],
  "timestamp": "0x5e4b1b03"
}