Developer's Hub
v1.0
API Reference
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
GetTransactionInfo()
Copy Markdown
Open in ChatGPT
Open in Claude
Summary
| Route | Type | Example |
|---|---|---|
| /monitor/gettransactioninfo | POST | http://apinode.credits.com/api/monitor/gettransactioninfo |
Description
Gets all transaction fields for a particular transaction.
Request
Request Structure
JSON
x
{// Parameters common for all requests// Wallet address"transactionId": "string_value"}Request Parameters
string: transactionId - Transaction identifier in the form block_number.transaction_number
Response
Response Structure
All transaction attributes
JSON
{// transaction id is easily transmitted and do not require remembering the incoming data block_number.transaction_number upon serialization “Id”:”string”,// innerID of a transaction “SourceCounter”:”u64”// Transaction type, see values in Transactions“Type”: u8_value,// Sender or Smart contract initiator"Source": "base58_value",// Recipient or initiated smart contract"Target": "base58_value",// Total amount"Sum": "decimal_value",// Maximum fee"MaxFee": "decimal_value",// Fee paid by the sender for the transaction"ActualFee": "decimal_value",//Additional fee (list) paid for services called by the transaction"ExtraFee": [...]//Information about smart contracts "UserFields":[...],// Transaction signature (by sender)"Signature":"hex_value",// Actual fee“Bundle”:[...]}Example Code
Python
C#
C++
import requestsimport jsondef gettransactioninfo(): url = 'http://apinode.credits.com/api/monitor/gettransactioninfo' headers = { 'Content-type': 'application/json' , 'Accept': 'application/json' , 'Content-Encoding': 'utf-8' } data = { "authKey":"" , "NetworkAlias":"Mainnet" , "PublicKey":"HhhRGwgA3W5qcNFrLC3odC4GmbkQnhdEc5XPqBiRW3Wx" , "transactionId":"28762307.1" } answer = requests.post(url, data=json.dumps(data), headers=headers) response = answer.json() print(response)gettransactioninfo()Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Next to read:
GetEstimatedFee()Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message