मुख्य सामग्री पर जाएं
कस्टम RPC मेथड्स tenderly_ namespace में दिखाई देते हैं।
यह मेथड Node RPC पर चलता है; प्रत्येक मेथड और नेटवर्क के लिए पूर्ण JSON-RPC reference देखें।

tenderly_traceTransaction

ब्लॉकचेन पर transaction को रीप्ले करता है और निष्पादन के बारे में जानकारी प्रदान करता है, जैसे status, logs, internal transactions, इत्यादि। Params
  1. Transaction hash STRING 32 byte hex value
Example
example.json
{
  "id": 0,
  "jsonrpc": "2.0",
  "method": "tenderly_traceTransaction",
  "params": ["0x6b2264fa8e28a641d834482d250080b39cbbf39251344573c7504d6137c4b793" ]
}

Result

Trace transactions result OBJECT
  • status NUMBER: या तो 1 (सफलता) या 0 (विफलता)
  • gasUsed NUMBER: इस विशिष्ट transaction द्वारा अकेले उपयोग की गई gas की मात्रा
  • cumulativeGasUsed NUMBER: जब यह transaction block में निष्पादित हुआ तब उपयोग की गई gas की कुल मात्रा
  • blockNumber NUMBER: वह block number जिसमें यह transaction simulate किया गया था
  • type NUMBER: transaction प्रकार, legacy transactions के लिए 0x00, access list प्रकारों के लिए 0x01, dynamic fees के लिए 0x02
  • logsBloom STRING: संबंधित logs को शीघ्रता से पुनः प्राप्त करने के लिए light clients के लिए bloom filter
  • logs: उत्सर्जित events की एक array ARRAY of OBJECT
    • name STRING: event name
    • anonymous BOOLEAN: इंगित करता है कि event anonymous है या नहीं
    • inputs: डिकोडेड log arguments की array ARRAY of decoded logs OBJECT
      • name STRING: event argument name
      • type STRING: Solidity type सिस्टम से event argument type
      • value (optional) STRING argument का string प्रतिनिधित्व value; type field के अनुसार व्याख्या करें
    • raw OBJECT: raw logs
      • address STRING hex encoded address: log उत्सर्जित करने वाले कॉन्ट्रैक्ट का पता
      • topics ARRAY of STRING 32 hex encoded bytes
      • data STRING event data का प्रतिनिधित्व करने वाला hex encoded string
  • trace: Trace ARRAY of OBJECT
    • type STRING type: trace item type - या तो CALL| CALLCODE| STATICCALL| DELEGATECALL| CREATE| CREATE2| SELFDESTRUCT
    • from STRING: hex encoded address
    • to STRING: hex encoded address
    • gas STRING: event gas का प्रतिनिधित्व करने वाला hex encoded unsigned 64 byte integer
    • gasUsed STRING: event gasUsed का प्रतिनिधित्व करने वाला hex encoded unsigned 64 byte integer
    • value STRING: wei में event value का प्रतिनिधित्व करने वाला hex encoded unsigned 64 byte integer
    • error STRING: virtual machine से low-level error
    • errorReason STRING: revert के मामले में निकाला गया error reason
    • input STRING: trace point के लिए raw input bytes का hex encoded string प्रतिनिधित्व
    • method STRING: invoked contract method
    • decodedInput : invoked method के लिए डिकोडेड input - ARRAY of decoded in argument OBJECT
      • value STRING: argument का string प्रतिनिधित्व value; type field के अनुसार व्याख्या करें।
      • type STRING: इस argument का Solidity type
      • name STRING: इस argument का नाम
    • output STRING: raw trace output
    • decodedOutput : invoked method का डिकोडेड output - ARRAY of decoded out argument OBJECT
      • value STRING: argument का string प्रतिनिधित्व value; type field के अनुसार व्याख्या करें।
      • type STRING: इस argument का Solidity type
      • name STRING: इस argument का नाम
    • subtraces NUMBER: child traces की संख्या
    • traceAddress : trace position ARRAY of NUMBER
  • assetChanges ARRAY:
    • type STRING asset change का प्रकार, transfer, mint, burn हो सकता है
    • from STRING: प्रेषक का पता (mint transfers के लिए खाली)
    • to STRING: प्राप्तकर्ता का पता (burn transfers के लिए खाली)
    • amount STRING: स्थानांतरित token की मात्रा
    • rawAmount STRING: token के लिए raw amount transfer
    • dollarValueSTRING: स्थानांतरित token का dollar मूल्य
    • assetInfoOBJECT: asset जानकारी
      • standard STRING: समर्थित token मानक: ERC20, ERC721, NativeCurrency
      • type STRING: token प्रकार: Native, Fungible, Non-Fungible
      • contractAddressSTRING : कॉन्ट्रैक्ट का पता
      • symbol STRING: token प्रतीक
      • name STRING: token नाम
      • logo STRING: token icon के लिए URL
      • decimals NUMBER: token में decimals की संख्या
      • dollarValueSTRING: एक token का dollar मूल्य
  • balanceChanges ARRAY: balance changes की एक array - संचित asset changes
    • address STRING address
    • dollarValue STRING: संचित asset changes का dollar मूल्य
    • transfers ARRAY: asset changes indexes की array