Change FeePayer Option

Updates the fee payment method for a contract.

Options

With options you can set the transaction fee payment method. You can find more details in Fee Payer Options.

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
object (Kip37FeePayerOptions)
Responses
200

Your request was successful.

400

The request is not valid.

404

The resource you requested does not exist.

put/v2/contract/{contract-address-or-alias}
Request samples
application/json

Your request was successful.

null
Response samples
application/json

Your request was successful.

{
  • "alias": "my-first-kip37",
  • "address": "0xcbcbe8297801600bf8e0530baa2fdd6358547ebe",
  • "options": {
    }
}