🎯Transaction API Endpoints
Notes
Endpoints with 🅿🆁🅾
are under the API Pro subscription. To upgrade your API plan, browse through the BscScan APIs page.
//imports
using BscScan.NetCore.Contracts;
//inject
private readonly IBscScanTransactionService _bscScanTransactionService;
💰Check Transaction Receipt Status
Returns the status code of a transaction execution.
- Request
- Response
- ...
//Sample Request 🍎
var transactionReceiptStatus =
await _bscScanTransactionService.CheckTransactionReceiptStatusAsync(
"0xe9975702518c79caf81d5da65dea689dcac701fcdd063f848d4f03c85392fd00");
//will return a new object TransactionReceiptStatus with values: 🍊
var transactionReceiptStatus = new TransactionReceiptStatus {
Staus="1",
Message="OK",
Result= new TransactionReceiptStatusData{
Status = true,
NumericStatus ="1"
}
};
🍌 For more information Check out Check Transaction Receipt Status