Injection
Ethereum, Polygon and Binance Smart Chain are currently supported. Get an API Key in the Merkle Developer Dashboard.
Injection allows you to push a transaction to the blockchain as quickly as possible. Transactions injected are not protected against MEV.
Injection is possible using the standard eth_sendRawTransaction
JSON-RPC method. This simplifies the integration with common Web3 libraries and leverages a well known interface for every blockchain developer.
As described in Listen to transactions, the RPC endpoint is the following:
The chain ID must follow the format described in the table and defaults to mainnet when omitted:
chain | chain-id |
---|---|
Mainnet |
|
Polygon |
|
BSC |
|
Only theeth_sendRawTransaction
method is supported through this endpoint.
sendRawTransaction
Submits a pre-signed transaction for broadcast to the network and returns the transaction's hash in case of success.
The chain ID must follow the format described in the reference and defaults to mainnet when omitted.
Request
Response
Last updated