polygon_private_tx
Send Polygon transaction with front-running protection automatically on server side, base on the accessibility of the next validators
Polygon Mainnet
The polygon_private_tx
endpoint allows users to send a single transaction to cloud-api, and cloud-api will check the BDN accessibility of the next validators. If validators are accessible, transaction will be sent with next_validator
flag, along with 4 seconds fallback
. Otherwise transaction will be sent with validator_only
flag. More details about these flags can be found in semi-private transaction page. There is also a safe window on BDN (500ms ~ 200ms before blocks confirm), transaction arrives before this window will be held, and transaction arrives after will not be sent to validator.
Note: endpoint is only supported by cloud-api.
REQUEST
Method: polygon_private_tx
Parameter | Description | Instructions & Notes |
---|---|---|
| Raw transactions bytes without | Mandatory. Learn more about constructing the transaction here. |
Examples (Cloud API)
RESPONSE
Result Fields
Result Field | Description |
| Transaction hash |
Examples
Last updated