BlockVision
Dashboard
Discord
Twitter
Website
Search…
🧩
Welcome to BlockVision
🌟
Introduction
📚
How-To Guides
📖
Documentation
Chain APIs
🎨
Ethereum
Basic
eth_getBalance
eth_getCode
eth_getStorageAt
eth_getTransactionCount
eth_blockNumber
eth_getBlockTransactionCountByHash
eth_getBlockTransactionCountByNumber
eth_syncing
eth_getBlockByNumber
eth_call
eth_estimateGas
eth_gasPrice
eth_maxPriorityFeePerGas
eth_feeHistory
eth_protocolVersion
eth_sendRawTransaction
eth_chainId
web3_sha3
eth_getUncleCountByBlockHash
eth_getUncleCountByBlockNumber
eth_getUncleByBlockHashAndIndex
eth_getUncleByBlockNumberAndIndex
eth_getTransactionByHash
eth_getTransactionByBlockHashAndIndex
eth_getTransactionByBlockNumberAndIndex
eth_getTransactionReceipt
eth_getBlockByHash
eth_getLogs
Enhanced
ERC20
NFT
Portfolio
Price
dApp
📜
BNB Chain
🧲
Optimism
🌊
Arbitrum
🍄
Polygon
Powered By
GitBook
eth_sendRawTransaction
Creates new message call transaction or a contract creation for signed transactions.
Parameters
Params
- a string array containing (required):
DATA(hex string, required)
- the signed transaction data.
params: ["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"]
Returns
DATA(hex string)
, 32 Bytes - the transaction hash, or the zero hash if the transaction is not yet available.
Use
eth_getTransactionReceipt
to get the contract address, after the transaction was mined, when you created a contract.
Example
Request
curl
https://api.blockvision.org/v1/
<
api key
>
\
-X POST
\
-H
"Content-Type: application/json"
\
-d
'{
"jsonrpc": "2.0",
"method": "eth_protocolVersion",
"params": [
"0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"
],
"id": 42
}'
Result
{
"id"
:
1
,
"jsonrpc"
:
"2.0"
,
"result"
:
"0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
}
Previous
eth_protocolVersion
Next
eth_chainId
Last modified
2mo ago
Copy link
Outline
Parameters
Returns
Example
Request
Result