User Fee Delegation KAIA transfer transaction

Create a transaction for transferring KAIA with memo with the fee payer account created by user.

To use this API, you need two x-krn for account-pool and feepayer-pool. The values for x-krn are written separated with a comma, as shown below.

x-krn: krn:1001:wallet:local:account-pool:{{account-pool-id}},krn:1001:wallet:local:feepayer-pool:{{feepayer-pool-id}}
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
required
string

KAIA converted into kei

to
required
string

KAIA receiver's Kaia account address

memo
string

Memo to be attached to the transaction.

nonce
integer <int64>

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

gas
integer <int64>
Default: 1000000

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

feePayer
required
string

Account address for user Fee Delegation

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-user/value
Request samples
application/json
{
  • "from": "0x60d0902c428D0E197F97a756011Fd4893C1E57B0",
  • "value": "0x0",
  • "to": "0x5053e2f0dDe795c423A2b7f551C873f6Ef6F4Daa",
  • "memo": "0x123",
  • "nonce": 0,
  • "gas": 0,
  • "submit": true,
  • "feePayer": "0x0E916319466895015cbcB453a1ff8c4134FEB902"
}
Response samples
application/json
{
  • "feePayer": "0x0e916319466895015cbcb453a1ff8c4134feb902",
  • "from": "0x60d0902c428d0e197f97a756011fd4893c1e57b0",
  • "gas": 1000000,
  • "gasPrice": "0x5d21dba00",
  • "input": "0x3078313233",
  • "nonce": 1421,
  • "rlp": "0x11f8e582058d8505d21dba00830f4240945053e2f0dde795c423a2b7f551c873f6ef6f4daa809460d0902c428d0e197f97a756011fd4893c1e57b0853078313233f847f8458207f6a080b482844d481234063421b440f71fb82dd279aaf1e38fc2432a23e4f613670ca00b52174375e82da2605da1447ad6cadfb34d44d24efc916e5a7576e34b438457940e916319466895015cbcb453a1ff8c4134feb902f847f8458207f6a041d0bfa10a845a02bb4ebbd0f680e815304c7422aea02fc4a9ff25965e53d401a03fa076dfb575ec4761650bdc4159f1341fd84f66ea626a0680b8195e8d433f83",
  • "signatures": [
    ],
  • "status": "Submitted",
  • "to": "0x5053e2f0dde795c423a2b7f551c873f6ef6f4daa",
  • "transactionHash": "0x99530c5cacfbe832b099930de4b455aea8c13a2ca7b34bfde59b6090d7f79720",
  • "typeInt": 17,
  • "value": "0x0"
}