mallow docs

Rotate gumball authority

POST
/v2/tx/gumball/set-authority

Builds a transaction that hands control of a gumball machine from authority to newAuthority. Both wallets must sign the same transaction, so collect one signature and then the other without rebuilding it.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/tx/gumball/set-authority" \  -H "Content-Type: application/json" \  -d '{    "gumballMachine": "string",    "authority": "string",    "newAuthority": "string"  }'
{  "result": {    "tx": "string"  }}