POST
/api/public/v1/tx/sendSend transaction (buy · sell · create launch)
Sign and broadcast any transaction from your custodial wallet. This one endpoint powers buy, sell, and create-launch — encode the calldata for the Noxa router / factory and pass it as `data`. Convenience wrappers (/trade, /launch/create) ship once the Noxa ABI is finalized; until then this is the direct path bots are already using.
Parameters
| Name | Type | Description |
|---|---|---|
torequired | address | Target contract (Noxa router for buy/sell, factory for launch) |
data | hex | Encoded calldata (0x-prefixed). Omit for a plain ETH transfer. |
value | wei string | ETH to attach in wei. Required for buys. |
gas | string? | Optional gas limit override |
Request
bash
# Buy on Noxa (example — replace with real router + calldata)
curl -X POST https://noxaportal.fun/api/public/v1/tx/send \
-H "x-api-key: nx_9f2a...48b1" \
-H "Content-Type: application/json" \
-d '{
"to": "0xNoxaRouter...",
"data": "0xa6f2ae3a000000000000...",
"value": "10000000000000000"
}'Response
json
{
"hash": "0x8c1e...ffab",
"from": "0xAbCdEf...",
"to": "0xNoxaRouter...",
"value": "10000000000000000",
"explorer": "https://robinhoodchain.blockscout.com/tx/0x8c1e...ffab"
}