Skip to main content
Version: 1.4.2

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.

Chainrole: 'mint'role: 'burn'
EVMrevokeMintRole(authority)revokeBurnRole(authority)
AptosRemove from minter allowlist / revoke MINTER_ROLERemove from burner allowlist / revoke BURNER_ROLE
SolanaNot 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?

optional tokenType?: EVMTokenType

Defined in: token-admin/types.ts:1178

EVM token type. Controls which ABI is used for the revoke call.

  • 'burnMintERC20' (default): uses OZ AccessControl revokeRole(bytes32, address)
  • 'factoryBurnMintERC20': uses Ownable revokeMintRole(address) / revokeBurnRole(address) Ignored on Solana/Aptos.