Send transactions via API
This method is for advanced users only. Your dashboard displays an RPC that accepts transactions into the private pool easily.
To send transactions, you will need:
The transactions
An API key, create an account on the Developer Dashboard for free to get an API key.
Once a transaction are received, Merkle will run an auction with searchers. If no bid is made on your transaction, it will be released to trusted builders, protecting it from front-running.
Send a new transaction
POST
https://mempool.merkle.io/transactions
Headers
Name | Type | Description |
---|---|---|
X-MBS-Key* | String | Merkle API key. Get one at Merkle Developers |
Request Body
Name | Type | Description |
---|---|---|
transactions* | String array | List of transactions to send to the private pool |
privacy | String | Privacy profile of the transaction. By default the value is |
hints | String array | If |
bundle_types | String array | Types of bids allowed on auctions. By default, only backruns are allowed. |
release_Targets | String array | A list of places where to release the transaction if no bid is received, by default, the transaction is sent directly to block builder privately. Learn more about release. |
prevent_reverts | Bool | Prevent this transaction from reverting onchain. This transaction will not be mined if it reverts. Default: false |
,Here are examples on how to send transactions for some languages:
Javascript
Go
Last updated