Resume Contract

Resumes the actions of the given contract. The actions of a contract here refer to sending tokens and sending tokens on the owner's behalf.

Pauser

The account that sends the transaction to resume the contract. 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 pauser 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}).

Request
Security:
path Parameters
contract-address-or-alias
required
string

Contract address (in hex.) or alias.

header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

Request Body schema: application/json
pauser
string

The Kaia account address whose authority to carry out contract operations - transfer and authorization of tokens, etc. - will be recovered. The default value is the deployer's address.

Responses
200

Your request was successful.

401

The credential you entered is invalid.

404

The resource you requested doesn't exist.

409

There was a conflict with current state of the server.

post/v1/contract/{contract-address-or-alias}/unpause
Request samples
application/json
{
  • "pauser": "0x1eb15b3ccb2add3bfe132a4f6ad21ca62cf94e6d"
}
Response samples
application/json

Your request was successful.

{
  • "status": "Submitted",
  • "transactionHash": "0xf7843f034f2283d0ec32886a69d44a85ce19af25d8bd89d84322b973a86328a8"
}