set_token_authority
Change or revoke authority for Solana token mints and accounts to manage permissions like minting tokens, freezing accounts, or transferring ownership.
Instructions
Set or change authority for a token mint or account
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"walletName": "<walletName>",
"tokenMint": "<tokenMint>",
"authorityType": "<authorityType>"
},
"name": "set_token_authority"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenMint | Yes | Token mint address | |
| walletName | Yes | Name of the wallet with current authority | |
| newAuthority | No | Address of new authority (or null to revoke authority) | |
| authorityType | Yes | Type of authority to set |