หน้านี้ยังไม่พร้อมใช้งานในภาษาท้องถิ่นของคุณ เรากำลังพยายามอย่างหนักเพื่อเพิ่มเวอร์ชันภาษาอื่น ๆ เพิ่มเติม ขอบคุณสำหรับการสนับสนุนเสมอมา

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Show all

Dedicated Edition

Updated on 2024-11-14 GMT+08:00
Table 1 BNB Smart Chain APIs

API Method

Description

Throughput (Time/s)

debug_traceBlockByNumber

This API returns tracing results by executing all transactions in the block specified by the block number. The results include the type of the call, the sender's address, the receiver's address, the value sent with the transactions, the gas, the input and output data.

5

debug_traceBlockByHash

This API returns tracing results by executing all transactions in the block specified by the block hash. The results include the type of the call, the sender's address, the receiver's address, the value sent with the transactions, the gas, the input and output data.

15

debug_traceBlock

This API returns a full stack trace of all invoked opcodes of all transactions that were included in a block.

50

debug_traceTransaction

This API tracks specified transactions.

200

eth_accounts

This API returns an array of addresses owned by the client.

30000

eth_call

This API executes a new message call immediately without creating a transaction on the blockchain.

24500

eth_estimateGas

This API returns an estimation of gas for a given transaction.

2500

eth_getFilterLogs

This API returns an array of all the logs matching the given filter ID.

1900

eth_getLogs

This API returns an array of all the logs matching the given filter object.

10

eth_getFilterChanges

The polling method for a filter, which returns an array of logs which occurred since last poll. Call eth_newFilter, eth_newBlockFilter, or eth_newPendingTransactionFilter to create a filter.

39000

eth_blockNumber

This API returns the latest block number of the blockchain.

40000

debug_traceCall

This API returns tracing result by executing an eth call within the context of the given block execution.

1000

eth_chainId

This API returns the currently configured chain ID.

34000

eth_feeHistory

This API returns historical gas information.

30000

eth_gasPrice

This API returns the current gas price in wei.

41000

eth_getBalance

This API returns the balance of the given account address.

27000

eth_getBlockByHash

This API returns information about the block by block hash.

  • 2000 if a complete block object is returned
  • 22000 if a complete block object is not returned

eth_getBlockByNumber

This API returns information about the block by block number.

  • 2000 if a complete block object is returned
  • 22000 if a complete block object is not returned

eth_getBlockTransactionCountByHash

This API returns the number of transactions for the block by block hash.

29000

eth_getBlockTransactionCountByNumber

This API returns the number of transactions for the block by block number.

32000

eth_getCode

This API returns the compiled byte code of a smart contract, if any, at a given address.

27000

eth_getProof

This API returns the account and storage values, including the Merkle proof, of the specified account.

11000

eth_getStorageAt

This API returns the balance of the given account address.

24000

eth_getTransactionByBlockHashAndIndex

This API returns information about a transaction by a block hash and transaction index position.

28000

eth_getTransactionByBlockNumberAndIndex

This API returns information about a transaction by a block number and transaction index position.

30000

eth_getTransactionByHash

This API returns the information about a transaction by transaction hash.

25000

eth_getTransactionCount

This API returns the number of transactions sent from an address.

28000

eth_getTransactionReceipt

This API returns the receipt of a transaction by transaction hash.

21000

eth_getUncleByBlockHashAndIndex

This API returns information about an uncle of a block by hash and uncle index position.

6000

eth_getUncleByBlockNumberAndIndex

This API returns information about an uncle of a block by number and uncle index position.

6000

eth_getUncleCountByBlockHash

This API returns the number of uncles for the block by block hash.

30000

eth_getUncleCountByBlockNumber

This API returns the number of uncles for the block by block number.

32000

eth_maxPriorityFeePerGas

This API returns a fee per gas that is an estimate of how much you can pay as a priority fee, or a tip, to get a transaction included in the current block.

38000

eth_newBlockFilter

This API creates a filter in the node to notify when a new block arrives.

29000

eth_newFilter

This API creates a filter object based on the given filter options to notify when the state changes (logs).

24000

eth_newPendingTransactionFilter

This API creates a filter in the node to notify when new pending transactions arrive at BSC.

80

eth_sendRawTransaction

This API creates a new message call transaction or creates a contract for signed transactions.

2500

eth_subscribe

This API creates a new subscription for particular events. The node returns a subscription ID. For each event that matches the subscription, a notification with relevant data is sent together with the subscription ID.

1000

eth_syncing

This API returns the sync status.

35000

eth_uninstallFilter

This API uninstalls a filter with the given filter ID. It should always be called when watching is no longer needed. Additionally, filters time out when they are not requested with eth_getFilterChanges for a period of time.

33000

eth_unsubscribe

This API cancels subscriptions with the subscription ID. It returns a boolean indicating that the subscription was canceled successfully.

1000

net_listening

This API returns true if the client is actively listening for network connections.

32000

net_version

This API returns the current network ID.

34000

txpool_content

This API returns all pending and queued transactions.

40

txpool_inspect

This API returns a textual summary of all pending and queued transactions.

200

txpool_status

This API returns the number of transactions in pending and queued states.

25000

web3_clientVersion

This API returns the current version of the chain client.

30000

web3_sha3

This API returns Keccak-256 (not the standardized SHA3-256) hash of the given data.

32000

eth_hashrate

This API returns the number of hashes per second calculated by the node.

40000

eth_mining

This API returns true if the node is actively mining new blocks.

42000

eth_getBlobSidecars

This API returns the blob sidecar of a given block.

600

eth_getBlobSidecarByTxHash

This API returns the blob sidecar of a given transaction.

1000

nes_sendGasOptimizedTransaction

This API returns an ID. This ID can be used to query the gas optimization status.

250

nes_getGasOptimizedTransactionStatus

This API returns the gas optimization status.

1500

เราใช้คุกกี้เพื่อปรับปรุงไซต์และประสบการณ์การใช้ของคุณ การเรียกดูเว็บไซต์ของเราต่อแสดงว่าคุณยอมรับนโยบายคุกกี้ของเรา เรียนรู้เพิ่มเติม

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback