Legacy
sendTransaction (Legacy)
트랜잭션을 네트워크로 보냅니다.
참고: AccountKeyLegacy
가 있는 계정 만, sendTransaction 이 가능합니다.
Parameters
The parameters of sendTransaction are a transaction object and a callback function.
LEGACY
유형의 트랜잭션 오브젝트의 구조는 다음과 같습니다.
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"
returnsString
: Is fired right after the transaction is sent and a transaction hash is available."receipt"
returnsObject
: Is fired when the transaction receipt is available."error"
returnsError
: Is fired if an error occurs during sending. On an out-of-gas error, the second parameter is the receipt.
Example
Last updated