Interface: RevokeMintBurnAccessParams
Defined in: token-admin/types.ts:1165
Parameters for revoking mint or burn permissions on a token.
This is a token operation — it modifies permissions on the token,
not the pool. The authority loses the specified role.
| Chain | role: 'mint' | role: 'burn' |
|---|---|---|
| EVM | revokeMintRole(authority) | revokeBurnRole(authority) |
| Aptos | Remove from minter allowlist / revoke MINTER_ROLE | Remove from burner allowlist / revoke BURNER_ROLE |
| Solana | Not supported (use transferMintAuthority) | Not supported |
Example
TypeScript
const params: RevokeMintBurnAccessParams = {
tokenAddress: '0xa42BA090720aEE0602aD4381FAdcC9380aD3d888',
authority: '0x1234567890abcdef1234567890abcdef12345678',
role: 'mint',
}
Properties
authority
authority:
string
Defined in: token-admin/types.ts:1169
Address to revoke mint/burn access from.
role
role:
"burn"|"mint"
Defined in: token-admin/types.ts:1171
Which role to revoke — must be specified explicitly.
tokenAddress
tokenAddress:
string
Defined in: token-admin/types.ts:1167
Token address (EVM contract, Aptos FA metadata).
tokenType?
optionaltokenType?:EVMTokenType
Defined in: token-admin/types.ts:1178
EVM token type. Controls which ABI is used for the revoke call.
'burnMintERC20'(default): uses OZ AccessControlrevokeRole(bytes32, address)'factoryBurnMintERC20': uses OwnablerevokeMintRole(address)/revokeBurnRole(address)Ignored on Solana/Aptos.