SocialScan Explorer API
  • Introduction
  • 🎯API ENDPOINTS
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Tokens
    • Stats
  • 🗳️Verify Smart Contract
    • Verify Smart Contract
      • Verify with SocialScan UI
      • Verify with SocialScan API
      • Verify through Foundry
      • Verify through Hardhat
  • 🤝SUPPORT
    • FAQ
    • Rate Limits
    • Common Error Messages
    • Getting Help
Powered by GitBook
On this page
  • Compare With EtherScan
  • Check Contract Execution Status
  • Check Transaction Receipt Status

Was this helpful?

  1. API ENDPOINTS

Transactions

PreviousContractsNextBlocks

Last updated 1 month ago

Was this helpful?

Compare With EtherScan

EndPoint
EtherScan
SocialScan

Check Contract Execution Status

✅

✅

Check Transaction Receipt Status

✅

✅

Check Contract Execution Status

[]

Returns the status code of a contract execution.

https://api.w3w.ai/mantle/v1/developer/api
   ?module=transaction
   &action=getstatus
   &txhash=0x935cad3ac666b462d726de36f3c4d5b5e63238ef264a1ae1d9ead3941bac1aa3
   &apikey=YourApiKeyToken

Try this endpoint in your

https://api.socialscan.io/monad-testnet/v1/developer/api
   ?module=transaction
   &action=getstatus
   &txhash=0x4cd096de94913d2e57235dde8869afde791327f1f64d272fdd1be503e0b679e7
   &apikey=8f9d3e27-a516-4c08-b235-7d94f02ca91b

Try this endpoint in your

Query Parameters

Parameter
Description

txhash

the string representing the transaction hash to check the execution status

Sample response

{
    "status": "1",
    "message": "OK",
    "result": {
        "isError": "1",
        "errDescription": "execution reverted"
    }
}

Tip: The isError field returns 0 for successful transactions and 1 for failed transactions.

Check Transaction Receipt Status

[]

Returns the status code of a transaction execution.

https://api.w3w.ai/mantle/v1/developer/api
   ?module=transaction
   &action=gettxreceiptstatus
   &txhash=0xa2cc6d9273022f455631cdb326b80031148421d4d9f63eb27dcffa7b1e9750dc
   &apikey=YourApiKeyToken
https://api.socialscan.io/monad-testnet/v1/developer/api
   ?module=transaction
   &action=gettxreceiptstatus
   &txhash=0x4cd096de94913d2e57235dde8869afde791327f1f64d272fdd1be503e0b679e7
   &apikey=8f9d3e27-a516-4c08-b235-7d94f02ca91b

Query Parameters

Parameter
Description

txhash

the string representing the transaction hash to check the receipt status

Sample response

{
    "status": "1",
    "message": "OK",
    "result": {
        "status": "1"
    }
}

Try this endpoint in your

Try this endpoint in your

🎯
🔗
🔗
📖
https://docs.etherscan.io/api-endpoints/stats#check-contract-execution-status
browser
browser
https://docs.etherscan.io/api-endpoints/stats#check-transaction-receipt-status
🔗
browser
🔗
browser