Metadium Tech (KOR)
  • Navigation
    • Metadium Overview
    • Metadium Tech (ENG)
    • Metadium Tech (KOR)
  • METADIUM Info
    • Architecture
    • Network Structure
    • Consensus
    • Smart Contract
    • DID
    • EIP-1559
    • Fee Delegation
    • Roadmap
  • Developer
    • Node Start
      • gmet Binary
      • gmet Guide
      • Connect Node
      • Account
    • Install Node
      • End Node
        • Requirements
        • Install Gmet
      • BP Node
        • Requirements
        • Install Gmet
  • Smart Contract
    • Solidity
    • Precompiled Contracts
    • Sample Contracts
  • API Reference
    • API Info
    • Json-RPC
    • Explorer API
      • Accounts
      • Blocks
      • Contracts
      • Transactions
      • Event logs
      • Tokens
  • Wallet
    • Wallet Info
    • Fee
  • FAQ
  • Articles of Foundation
Powered by GitBook
On this page
  • Check Contract Execution Status
  • Check Transaction Receipt Status
  • Get 'Internal Transactions' by Transaction Hash
  1. API Reference
  2. Explorer API

Transactions

Check Contract Execution Status

if there was an error during contract execution.

GET https://testnetapi.metadium.com/v1/transactions/{transaction_haah}/transaction-status
api-key: Your API Key

Query Parameters

Parameter

Description

transaction_hash

type: String

value: Transaction hash

required: true

//Response Sample Result
{
    "status": "200",
    "message": "success",
    "results": {
        "data": {
            "status": "1"
        }
    }
}

Check Transaction Receipt Status

Only applicable for Post Byzantium fork transactions.

GET https://testnetapi.metadium.com/v1/transactions/{transaction_hash}/receipt-status
api-key: Your API Key

Query Parameters

Parameter

Description

transaction_hash

type: String

value: Transaction hash

required: true

//Response Sample Result
{
    "status": "200",
    "message": "success",
    "results": {
        "data": {
            "status": "1"
        }
    }
}

Get 'Internal Transactions' by Transaction Hash

Returns Internal-Transaction list.

GET https://testnetapi.metadium.com/v1/transactions/{transaction_hash}/internal-transactions
api-key: Your API Key

Query Parameters

Parameter

Description

transaction_hash

type: String

value: Transaction hash

required: true

limit

type: Integer

value: Maximum number of record will retrieve (Default: 50, Max: 1000)

required: false

offset

type: Integer

value: Start retrieve record (Default: 0)

required: false

input

type: Boolean

value: Include input data (true/false[Default])

required: false

//Response Sample Result
{
    "status": "200",
    "message": "success",
    "results": {
        "count": "43",
        "data": [
            {
                "timestamp": "2019-03-18T15:57:47Z",
                "sender": "0x15a4b8fbac1ac53c8c654b98a17e8798d483ed5c",
                "receiver": "0x87a5b7e7c5e0382cb01f0079f253ab6025ad5dd7",
                "value": "0",
                "status": "1",
                "message": null,
                "transaction_hash": "0xe024557fc818e74d101b74709d2d09cd60664ac1d77f34c1c28793e10dd5c09f",
                "block_number": "53",
                "contract_address": null,
                "trace_address": [
                    "0",
                    "1"
                ],
                "trace_type": "delegatecall",
                "sub_traces": null,
                "transaction_index": "0",
                "gas_used": "742060",
                "gas_limit": "9820641",
                "external_receiver": false
            },
            ...
        ]
    }
}
PreviousContractsNextEvent logs

Last updated 1 year ago