For the complete documentation index, see llms.txt. This page is also available as Markdown.

API

www.dannychain.com

Ethereum-Compatible API for Dannychain

The Dannychain EVM Gateway provides a fully Ethereum-compatible JSON-RPC interface, allowing seamless integration with existing Ethereum tools, libraries, and applications. This API enables developers to interact with Danny Chain using familiar Web3 tooling.

Endpoints

Nextwork
HTTP Endpoint
Chain id

Mainnet

rpc.dannyscan.com

5069

🌐Network Information

Returns the chain ID of the network.

<eth_chainId>

{
  "jsonrpc": "2.0",
  "method": "eth_chainId",
  "params": [],
  "id": 1
}
{
  "jsonrpc": "2.0",
  "method": "eth_chainId",
  "params": [],
  "id": 5069
}

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x13cd"  // 5069 in decimal for mainnet
}

Transaction

POST Get transaction

Blocks

POST Get Blocks

Token transfers

POST Get Token transfer

Internal transactions

POST Get internal transactions

Block number or hash

POST Get Block number or hash

Full Run API on Dannychain

GraphQL

Smart Contract Methods

eth_call

Executes a call without creating a transaction.

Subscription Types

Type
Description

newHeads

New block headers

logs

Smart contract events

pendingTransactions

Pending transaction hashes

syncing

Sync status updates

MetaMask Configuration

☎️Need Help?

Reach out to us for support, suggest improvements, or file a ticket using the Support on Telegram. Our team is here to assist you!

  • Telegram: Join our developer community

  • Twitter: information Danny Chain

Last updated

Was this helpful?