Send a transaction to the network
This endpoint allows you to send a transaction to the network
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
networkstring · enumRequiredExample:
The Hyperliquid network to use
mainnetPossible values: Body
signedTransactionstringRequired
Signed transaction data
Responses
200
OK
application/json
400
Bad request
application/json
401
Unauthorized
application/json
500
Internal server error
application/json
post
/api/v1/hyperliquid/{network}/transaction/sendPOST /api/v1/hyperliquid/{network}/transaction/send HTTP/1.1
Host: api.p2p.org
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"signedTransaction": "text"
}{
"result": {},
"error": {}
}Last updated