Global Fee Delegation contract deploy transaction

Create a transaction for deploying contracts using KAS global fee payer account.

Request
Security:
header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

Request Body schema: application/json
from
required
string

Kaia account address to send transaction

value
string

KAIA converted into kei

input
required
string

Data that is sent along with the transaction and is used for execution.

nonce
integer <int64>

Unique identifier for the transactions being sent (By entering 0, the nonce will be automatically determined)

gas
integer <int64>
Default: 9000000

The maximum computational units required to execute a transaction (By entering 0, it will be set to default value)

submit
boolean

Shows whether to send the transaction to Kaia

feeRatio
integer <int64> <= 99

The ratio of the gas fee to be delegated. When it's empty or 0, the entire fee will be delegated.

Responses
200

The request is successful.

400

The request is not valid.

post/v2/tx/fd/contract/deploy
Request samples
application/json
{
  • "from": "0x68D5cB4F29cAF2cD8c9E24202132Ee9ecA1Fdd75",
  • "value": "0x0",
  • "input": "0x123",
  • "nonce": 0,
  • "gas": 0,
  • "submit": true,
  • "feeRatio": 0
}
Response samples
application/json
{
  • "feePayer": "0x1b71a63903e35371e2fc41c6012effb99b9a2c0f",
  • "from": "0x60d0902c428d0e197f97a756011fd4893c1e57b0",
  • "gas": 9000000,
  • "gasPrice": "0x5d21dba00",
  • "input": "0x60806040526000805534801561001457600080fd5b50610116806100246000396000f3006080604052600436106053576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306661abd14605857806342cbb15c146080578063d14e62b81460a8575b600080fd5b348015606357600080fd5b50606a60d2565b6040518082815260200191505060405180910390f35b348015608b57600080fd5b50609260d8565b6040518082815260200191505060405180910390f35b34801560b357600080fd5b5060d06004803603810190808035906020019092919050505060e0565b005b60005481565b600043905090565b80600081905550505600a165627a7a7230582059344095f4f4ad6d1a407f2f20de3e3e65e8ead0c1aaf64728546db62db6f76f0029",
  • "nonce": 1399,
  • "rlp": "0x29f9020a8205778505d21dba008389544080809460d0902c428d0e197f97a756011fd4893c1e57b0b9013a60806040526000805534801561001457600080fd5b50610116806100246000396000f3006080604052600436106053576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306661abd14605857806342cbb15c146080578063d14e62b81460a8575b600080fd5b348015606357600080fd5b50606a60d2565b6040518082815260200191505060405180910390f35b348015608b57600080fd5b50609260d8565b6040518082815260200191505060405180910390f35b34801560b357600080fd5b5060d06004803603810190808035906020019092919050505060e0565b005b60005481565b600043905090565b80600081905550505600a165627a7a7230582059344095f4f4ad6d1a407f2f20de3e3e65e8ead0c1aaf64728546db62db6f76f00298080f847f8458207f6a029e3680d1bace358a9d6c5ae3d7eb7b6b4ddaf44da6befe2e2c24ae3a52e0df5a01addb2f5592aa9d92cb36effc07f63888dc9b1b3f6211c5787126d6d1844b0fd941b71a63903e35371e2fc41c6012effb99b9a2c0ff847f8458207f6a06decd86f1ad7dca3a2774b26fb76334848945f11203b5b61dd10b1b359419ec6a069485b8eaf7c3aa9cc539d56fce7910946b716c7d0b3483a38e7dfba1dc3c6fb",
  • "signatures": [
    ],
  • "status": "Submitted",
  • "transactionHash": "0x0ffe5ebca8c4367d50ea0499aa0c1e8b04005b0cf34dc98437bdf36c70906e0f",
  • "typeInt": 41,
  • "value": "0x0"
}