Skip to Content
API ReferenceTransactions

Transactions

Chain coverage: getTransactionByHash is supported on EVM, Solana, Starknet, and the Cosmos SDK chains. getReceipt (getTransactionReceipt) is dispatched through a shared receipt router that accepts both EVM and Starknet chains, and additionally returns decoded tx_response objects on Cosmos chains. traceTransaction remains EVM-only.

getReceipt

Returns the full transaction receipt. EVM responses include gas used, status, contract creation address, logs, and decoded event names. Starknet receipts are returned in their native Cairo shape. Cosmos chains return a decoded `tx_response` from the LCD.

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "getReceipt",
  "params": {
    "chain": "ethereum",
    "hash": "0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060"
  },
  "id": 1
}
Decoded Events (EVM)
TransferApprovalSwapSyncDepositWithdrawal

Parameters

NameRequiredDescription
chainyesNetwork slug
hashyesTransaction hash (0x + 64 hex)
e.g. 0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060

Response Fields

FieldType
dataobject
chainstring
transactionHashstring
blockNumberstring
fromstring
tostring
statusstring
gasUsedstring
effectiveGasPricestring
contractAddressnull
logsarray
decodedLogsarray

Supported Networks

EthereumPolygonBNB ChainOptimismBaseAvalancheArbitrumGnosisMoonbeamLineaHyperliquidBerachainMonadScrollPlasmaX LayerStarknetCosmos HubOsmosisAxelarNobleAgoric
Try It
{
  "jsonrpc": "2.0",
  "method": "getReceipt",
  "params": {
    "chain": "ethereum",
    "hash": "0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060"
  },
  "id": 1
}

getTransactionByHash

Get transactions by hash from multiple chains in a single call. Pass chain:txHash pairs.

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "getTransactionByHash",
  "params": [
    {
      "chain": "ethereum",
      "hash": "0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060"
    }
  ],
  "id": 1
}

Parameters

NameRequiredDescription
itemsyesComma-separated chain:txHash pairs
e.g. ethereum:0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060

Response Fields

FieldType
dataobject
countinteger
resultsobject[]
chainstring
hashstring
transactionobject
blockNumberstring
fromstring
tostring
Try It
{
  "jsonrpc": "2.0",
  "method": "getTransactionByHash",
  "params": [
    {
      "chain": "ethereum",
      "hash": "0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060"
    }
  ],
  "id": 1
}

traceTransaction

Returns the execution trace of a transaction using debug_traceTransaction (Geth) or trace_transaction (Parity/Erigon). Shows internal calls, delegatecalls, and value transfers. Availability depends on the chain node configuration.

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "traceTransaction",
  "params": {
    "chain": "ethereum",
    "hash": "0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060"
  },
  "id": 1
}

Parameters

NameRequiredDescription
chainyesNetwork slug
hashyesTransaction hash to trace
e.g. 0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060

Response Fields

FieldType
dataobject
chainstring
hashstring
tracerstring
traceobject
typestring
fromstring
tostring
valuestring
gasstring
gasUsedstring
inputstring
outputstring

Supported Networks

EthereumPolygonBNB ChainOptimismBaseAvalancheArbitrumGnosisMoonbeamLineaHyperliquidBerachainMonadScrollPlasmaX Layer
Try It
{
  "jsonrpc": "2.0",
  "method": "traceTransaction",
  "params": {
    "chain": "ethereum",
    "hash": "0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060"
  },
  "id": 1
}