Skip to main content
POST
交易 - 估算 Gas Limit

授權

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路徑參數

chain
enum<string>
必填

支援網路列表中的鏈名稱

可用選項:
bsc,
eth

主體

application/json

Gas 估算參數

from
string
必填

From address

範例:

"0x742d35Cc6634C0532925a3b8D8C9C4b8a8d4C8b8"

to
string
必填

To address

範例:

"0x742d35Cc6634C0532925a3b8D8C9C4b8a8d4C8b8"

data
string
必填

Transaction data (hex)

範例:

"0xa9059cbb000000000000000000000000742d35cc6634c0532925a3b8d8c9c4b8a8d4c8b80000000000000000000000000000000000000000000000000de0b6b3a7640000"

value
string

Value to send (in wei, hex string)

範例:

"0x0"

回應

200 - application/json
gasLimit
string
必填

Estimated gas limit (hex string)

範例:

"0x5208"

chain
string
必填

Chain symbol

範例:

"ethereum"