블록체인 네트워크에 정상적으로 전송된 트랜잭션의 상태를 확인할 수 있습니다.
network
String
네트워크 종류
required
txHash
트랜잭션 해시
result
"Transaction Successful"
"Transaction Failed"
"Transaction not yet mined"
// parameters val network = "ethereum" val txHash = "0x...." val checkTransactionStatus = checkTransactionStatusAsync(network, txHash) println(checkTransactionStatus) // checkTransactionStatusAsync result log /** "Transaction Successful" */
// parameters let network = "ethereum" let txHash = "0x...." let checkTransactionStatus = try await checkTransactionStatusAsync(network: network, txHash: txHash) print(checkTransactionStatus) // checkTransactionStatusAsync result log /** "Transaction Successful" */
Last updated 1 year ago