개요
블록체인 네트워크에 정상적으로 전송된 트랜잭션의 상태를 확인할 수 있습니다.
Parameters
Response
"Transaction Successful"
"Transaction Failed"
"Transaction not yet mined"
Example
// parameters
val network = "ethereum"
val txHash = "0x...."
val checkTransactionStatus = checkTransactionStatusAsync(network, txHash)
println(checkTransactionStatus)
// checkTransactionStatusAsync result log
/**
"Transaction Successful"
*/
Parameters
Response
"Transaction Successful"
"Transaction Failed"
"Transaction not yet mined"
Example
// parameters
let network = "ethereum"
let txHash = "0x...."
let checkTransactionStatus = try await checkTransactionStatusAsync(network: network, txHash: txHash)
print(checkTransactionStatus)
// checkTransactionStatusAsync result log
/**
"Transaction Successful"
*/