Creates transaction using RLP (SigRLP or TxHashRLP). The rlp from the transaction API of Wallet API is in the TxHashRLP format, which includes signature. You can create a SigRLP without signature easily using caver.
If you want to create a SigRLP for each transaction method on caver, use getRLPEncodingForSignature()
, and getRLPEncoding()
to create TxHashRLP. For SigRLP, you sign with the private key of the from
account, as long as the accounts have been created in the account pool. For more details on SigRLP and TxHashRLP by each transaction type, please refer to Kaia Docs.
Transaction type TxTypeEthereumAccessList
and TxTypeEthereumDynamicFee
supported from Klaytn v1.8.0 are not available yet.
The request is successful.
The request is not valid.
{- "rlp": "0x28f901ac8205708505d21dba008389544080809460d0902c428d0e197f97a756011fd4893c1e57b0b9013a60806040526000805534801561001457600080fd5b50610116806100246000396000f3006080604052600436106053576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306661abd14605857806342cbb15c146080578063d14e62b81460a8575b600080fd5b348015606357600080fd5b50606a60d2565b6040518082815260200191505060405180910390f35b348015608b57600080fd5b50609260d8565b6040518082815260200191505060405180910390f35b34801560b357600080fd5b5060d06004803603810190808035906020019092919050505060e0565b005b60005481565b600043905090565b80600081905550505600a165627a7a7230582059344095f4f4ad6d1a407f2f20de3e3e65e8ead0c1aaf64728546db62db6f76f00298080f847f8458207f6a0504972c81de9c036b251fa1b56cc8c0872e61dcc97293d0ac4adeb677b8a05cea03c5c47a6a518f99a36b9ebd5e9c4d043d9953e23f1f6351832ed483ddc615644",
- "submit": true
}
{- "from": "0x60d0902c428d0e197f97a756011fd4893c1e57b0",
- "gas": 9000000,
- "gasPrice": "0x5d21dba00",
- "input": "0x60806040526000805534801561001457600080fd5b50610116806100246000396000f3006080604052600436106053576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306661abd14605857806342cbb15c146080578063d14e62b81460a8575b600080fd5b348015606357600080fd5b50606a60d2565b6040518082815260200191505060405180910390f35b348015608b57600080fd5b50609260d8565b6040518082815260200191505060405180910390f35b34801560b357600080fd5b5060d06004803603810190808035906020019092919050505060e0565b005b60005481565b600043905090565b80600081905550505600a165627a7a7230582059344095f4f4ad6d1a407f2f20de3e3e65e8ead0c1aaf64728546db62db6f76f0029",
- "nonce": 1392,
- "rlp": "0x28f901ac8205708505d21dba008389544080809460d0902c428d0e197f97a756011fd4893c1e57b0b9013a60806040526000805534801561001457600080fd5b50610116806100246000396000f3006080604052600436106053576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306661abd14605857806342cbb15c146080578063d14e62b81460a8575b600080fd5b348015606357600080fd5b50606a60d2565b6040518082815260200191505060405180910390f35b348015608b57600080fd5b50609260d8565b6040518082815260200191505060405180910390f35b34801560b357600080fd5b5060d06004803603810190808035906020019092919050505060e0565b005b60005481565b600043905090565b80600081905550505600a165627a7a7230582059344095f4f4ad6d1a407f2f20de3e3e65e8ead0c1aaf64728546db62db6f76f00298080f847f8458207f6a0504972c81de9c036b251fa1b56cc8c0872e61dcc97293d0ac4adeb677b8a05cea03c5c47a6a518f99a36b9ebd5e9c4d043d9953e23f1f6351832ed483ddc615644",
- "signatures": [
- {
- "R": "0x504972c81de9c036b251fa1b56cc8c0872e61dcc97293d0ac4adeb677b8a05ce",
- "S": "0x3c5c47a6a518f99a36b9ebd5e9c4d043d9953e23f1f6351832ed483ddc615644",
- "V": "0x7f6"
}
], - "status": "Submitted",
- "transactionHash": "0xdec5c42f56b00bd74095df036aa9b80c801e5666df8035f29d101185eea45d8f",
- "typeInt": 40,
- "value": "0x0"
}