Grants a specified account the authority to pause the actions of a contract. The actions of a contract here refer to sending tokens and sending tokens on the owner's behalf. To remove the authority, use Remove Pauser.
NOTE
The
pauser
needs to be an account managed by Wallet API in order to use Remove Contract Pauser API. Otherwise, you will have to sign and send the transaction on your own.
The account that grants the authority. If you leave it blank, it will automatically be set to the deployer
address as default . You can find the deployer
address by KIP7Deployer.
You can omit the KRN if the sender
address is managed by the KIP-7 or Wallet Service account-pool
.
Otherwise you have to provide the KRN object in the header (x-krn: krn:{chain-id}:wallet:{account-id}:account-pool:{pool name}
).
Your request was successful.
Your request is not valid.
The credential you entered is invalid.
Access has been denied.
The resource you requested doesn't exist.
{- "sender": "0x1eb15b3ccb2add3bfe132a4f6ad21ca62cf94e6d",
- "pauser": "0x9eaf20b40e0f1ced5dbba6f5cfb0d3e12b0534f4"
}
Your request was successful.
{- "status": "Submitted",
- "transactionHash": "0xf7843f034f2283d0ec32886a69d44a85ce19af25d8bd89d84322b973a86328a8"
}