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

Your request was successful.

400

Your request is not valid.

401

The credential you entered is invalid.

404

The resource you requested does not exist.

put/v2/contract/{contract-address-or-alias}
Request samples
application/json
{
  • "options": {
    }
}
Response samples
application/json

Your request was successful.

{
  • "address": "0x7766a3af39e4fffbaccf6efa6a37ed195f9179b4",
  • "alias": "test",
  • "name": "TestNFT",
  • "symbol": "TEST",
  • "options": {
    }
}