Skip to main content
POST
/
fee-share
/
admin
/
transfer-tx
Create fee share admin transfer transaction
curl --request POST \
  --url https://public-api-v2.bags.fm/api/v1/fee-share/admin/transfer-tx \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "baseMint": "<string>",
  "currentAdmin": "<string>",
  "newAdmin": "<string>",
  "payer": "<string>"
}
'
{
  "success": true,
  "response": {
    "blockhash": {
      "blockhash": "<string>",
      "lastValidBlockHeight": 123
    },
    "transaction": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

API key authentication. Provide your API key as the header value.

Body

application/json
baseMint
string
required

Public key of the base mint

currentAdmin
string
required

Public key of the current fee share admin

newAdmin
string
required

Public key of the new fee share admin

payer
string
required

Public key of the payer wallet

Response

Successfully created admin transfer transaction

success
boolean
required
Example:

true

response
object