Last updated
Last updated
트랜잭션을 네트워크에 전송합니다.
Parameters
The parameters of sendTransaction are a transaction object and a callback function.
VALUE_TRANSFER_MEMO
유형의 트랜잭션 오브젝트의 구조는 다음과 같습니다.
Return Value
The callback
will return the 32-byte transaction hash.
PromiEvent
: A promise combined event emitter. Will be resolved when the transaction receipt is available. Additionally the following events are available:
"transactionHash"
returns String
: Is fired right after the transaction is sent and a transaction hash is available.
"receipt"
returns Object
: Is fired when the transaction receipt is available.
"error"
returns Error
: Is fired if an error occurs during sending. On an out-of-gas error, the second parameter is the receipt.
Example
Parameters
The parameters of sendTransaction are a transaction object and a callback function.
FEE_DELEGATED_VALUE_TRANSFER_MEMO
트랜잭션 객체의 구조는 다음과 같습니다.
In order for the fee payer to sign an RLP encoded transaction signed by the sender and send it to the network, define an object with the following structure and call caver.klay.sendTransaction
.
Return Value
The callback
will return the 32-byte transaction hash.
PromiEvent
: A promise combined event emitter. Will be resolved when the transaction receipt is available. Additionally the following events are available:
"transactionHash"
returns String
: Is fired right after the transaction is sent and a transaction hash is available.
"receipt"
returns Object
: Is fired when the transaction receipt is available.
"error"
returns Error
: Is fired if an error occurs during sending. On an out-of-gas error, the second parameter is the receipt.
Example
Parameters
The parameters of sendTransaction are a transaction object and a callback function.
FEE_DELEGATED_VALUE_TRANSFER_MEMO_WITH_RATIO
트랜잭션 객체의 구조는 다음과 같습니다.
In order for the fee payer to sign an RLP encoded transaction signed by the sender and send it to the network, define an object with the following structure and call caver.klay.sendTransaction
.
Return Value
The callback
will return the 32-byte transaction hash.
PromiEvent
: A promise combined event emitter. Will be resolved when the transaction receipt is available. Additionally the following events are available:
"transactionHash"
returns String
: Is fired right after the transaction is sent and a transaction hash is available.
"receipt"
returns Object
: Is fired when the transaction receipt is available.
"error"
returns Error
: Is fired if an error occurs during sending. On an out-of-gas error, the second parameter is the receipt.
Example
트랜잭션을 네트워크에 전송합니다.
위의 구조를 가진 FEE_DELEGATED_VALUE_TRANSFER_MEMO
유형의 트랜잭션 오브젝트, 또는 FEE_DELEGATED_VALUE_TRANSFER_MEMO
유형의 RLP 인코딩된 트랜잭션
은 트랜잭션 발신자의 경우 의 매개 변수로, 수수료 납부자의 경우 의 매개 변수로 사용할 수 있습니다.
트랜잭션을 네트워크에 전송합니다.
위의 구조를 가진 FEE_DELEGATED_VALUE_TRANSFER_MEMO_WITH_RATIO
유형의 트랜잭션 오브젝트, 또는 FEE_DELEGATED_VALUE_TRANSFER_MEMO_WITH_RATIO
유형의 RLP 인코딩된 트랜잭션
은 트랜잭션 발신자의 경우 의 매개 변수로, 수수료 납부자의 경우 의 매개 변수로 사용할 수 있습니다.