Broadcast a transaction with gas sponsorship using Privy server wallet
cURL
curl --request POST \ --url https://api.long.xyz/v1/sponsorship \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "encoded_payload": "<unknown>" } '
{ "result": { "transaction_hash": "<unknown>" } }
API key for authentication
Body
The encoded payload from the encode endpoint (in Hex format)
200
Show child attributes
The transaction hash of the broadcasted transaction