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}}
The request is successful.
The request is not valid.
{- "from": "0x60d0902c428D0E197F97a756011Fd4893C1E57B0",
- "transactionHash": "0xc886555413f0a9c13257ac0e2308981fe4d82b906370e81e49e1e52f5142e752",
- "gas": 0,
- "submit": true,
- "feeRatio": 20,
- "feePayer": "0x0E916319466895015cbcB453a1ff8c4134FEB902"
}
{- "feePayer": "0x0e916319466895015cbcb453a1ff8c4134feb902",
- "feeRatio": 20,
- "from": "0x60d0902c428d0e197f97a756011fd4893c1e57b0",
- "gas": 9000000,
- "gasPrice": "0x5d21dba00",
- "nonce": 1434,
- "rlp": "0x3af8ca82059a8505d21dba00838954409460d0902c428d0e197f97a756011fd4893c1e57b014f847f8458207f5a07f407110c3dd1803f2cfe998bb67a5a3c8a60eadb92b6f196669d48d84d43f4fa0177783efe37e57e4346b7ba06d0c32a4044532bdf31cadcb64f3a681a17350ec940e916319466895015cbcb453a1ff8c4134feb902f847f8458207f6a0fa5b6b7d442c790302df997553379dc7dfaf07debb811d0ed12757579ae1c590a03ef46a87c7450c5327e8a2b4eb6f905ffdcdf896e227c1968419ada405fac308",
- "signatures": [
- {
- "R": "0x7f407110c3dd1803f2cfe998bb67a5a3c8a60eadb92b6f196669d48d84d43f4f",
- "S": "0x177783efe37e57e4346b7ba06d0c32a4044532bdf31cadcb64f3a681a17350ec",
- "V": "0x7f5"
}
], - "status": "Submitted",
- "transactionHash": "0xd3cd5ba7728577d6cd690a8cdd8f4bac720b9676cd41f6174b95a883ab466182",
- "typeInt": 58
}