FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Other
TEXT MESSAGE
0/300
⚡ Test Our Private Nodes of 40+ Blockchains just for $50!
Method: POST eth_sendTransaction
方法不允许
如果数据字段包含代码,则创建新的消息调用事务或合约创建。
Object
-
交易对象
from
- 数据
20 字节 - 发送交易的地址。
to
- 数据
20 字节 - (创建新合约时可选)交易指向的地址。
gas
- 数量
(可选,默认 90000)
为交易执行提供的gas的整数。
它将返回未使用的气体。
gasPrice
- 数量
(可选,默认为 To-Be-Determined)用于每个付费 gas 的 gasPrice 整数
value
- 数量
(可选)与此交易一起发送的值的整数
data
- 数据
合约的编译代码或调用的方法签名和编码参数的哈希值。有关详细信息,请参阅以太坊合约 ABI
nonce
- 数量
(可选)随机数的整数。这允许覆盖您自己的使用相同随机数的待处理事务。
curl --location --request POST 'https://gno.getblock.io/mainnet/' --header 'x-api-key: YOUR-API-KEY' --header 'Content-Type: application/json' --data-raw '{"jsonrpc": "2.0", "method": "eth_sendTransaction", "params": [null, null, null, null, null, null, null, null], "id": "getblock.io"}'
{ "result": "null", "id": "getblock.io", "status_code": 405, "message": "Method not allowed" }
POST eth_protocolVersion
POST eth_syncing
POST eth_coinbase
POST eth_mining
POST eth_hashrate
POST eth_gasPrice
POST eth_accounts
POST eth_blockNumber
POST eth_getBalance
POST eth_getStorageAt
POST eth_getTransactionCount
POST eth_getBlockTransactionCountByHash
POST eth_getBlockTransactionCountByNumber
POST eth_getCode
POST eth_sign
POST eth_sendRawTransaction
POST eth_estimateGas
POST eth_getBlockByHash
POST eth_getBlockByNumber
POST eth_getTransactionByHash
POST eth_getTransactionByBlockHashAndIndex
POST eth_getTransactionByBlockNumberAndIndex
POST eth_getTransactionReceipt
POST eth_getUncleByBlockHashAndIndex
POST eth_getUncleByBlockNumberAndIndex
POST eth_getCompilers
POST eth_compileLLL
POST eth_compileSolidity
POST eth_newFilter
POST eth_newBlockFilter
POST eth_newPendingTransactionFilter
POST eth_uninstallFilter
POST eth_getFilterChanges
POST eth_getLogs
POST eth_getWork
POST eth_submitWork
POST net_version
POST net_listening
POST net_peerCount
POST web3_clientVersion
POST web3_sha3
POST db_putString
POST db_getString
POST db_putHex
POST db_getHex
POST eth_sendTransaction
POST eth_compileSerpent
POST eth_submitHashrate
POST shh_post
POST shh_version
POST shh_newIdentity
POST shh_hasIdentity
POST shh_newGroup
POST shh_addToGroup
POST shh_newFilter
POST shh_uninstallFilter
POST shh_getFilterChanges
POST shh_getMessages
Nodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitPartnerships
Media KitFeel Free to Reach Out Anytime! 👋
FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Other
TEXT MESSAGE
0/300
KakaoTalk