Transaction for cancelling user fee delegation

Create a transaction for cancelling a pending transaction that had been sent to Kaia with the user fee payer account. To cancel, you need either the nonce or the transaction hash.

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

transactionHash
string

Transaction hash value

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

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.

feePayer
required
string

Account address for user Fee Delegation

nonce
integer <int64>

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

Responses
200

The request is successful.

400

The request is not valid.

delete/v2/tx/fd-user
Request samples
application/json
{
  • "from": "0x60d0902c428D0E197F97a756011Fd4893C1E57B0",
  • "transactionHash": "0xc886555413f0a9c13257ac0e2308981fe4d82b906370e81e49e1e52f5142e752",
  • "gas": 0,
  • "submit": true,
  • "feeRatio": 20,
  • "feePayer": "0x0E916319466895015cbcB453a1ff8c4134FEB902"
}
Response samples
application/json
{
  • "feePayer": "0x0e916319466895015cbcb453a1ff8c4134feb902",
  • "feeRatio": 20,
  • "from": "0x60d0902c428d0e197f97a756011fd4893c1e57b0",
  • "gas": 9000000,
  • "gasPrice": "0x5d21dba00",
  • "nonce": 1434,
  • "rlp": "0x3af8ca82059a8505d21dba00838954409460d0902c428d0e197f97a756011fd4893c1e57b014f847f8458207f5a07f407110c3dd1803f2cfe998bb67a5a3c8a60eadb92b6f196669d48d84d43f4fa0177783efe37e57e4346b7ba06d0c32a4044532bdf31cadcb64f3a681a17350ec940e916319466895015cbcb453a1ff8c4134feb902f847f8458207f6a0fa5b6b7d442c790302df997553379dc7dfaf07debb811d0ed12757579ae1c590a03ef46a87c7450c5327e8a2b4eb6f905ffdcdf896e227c1968419ada405fac308",
  • "signatures": [
    ],
  • "status": "Submitted",
  • "transactionHash": "0xd3cd5ba7728577d6cd690a8cdd8f4bac720b9676cd41f6174b95a883ab466182",
  • "typeInt": 58
}