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?
GetTransactionsByWallet()
Copy Markdown
Open in ChatGPT
Open in Claude
Summary
| Route | Type | Example |
|---|---|---|
| /monitor/gettransactionsbywallet | POST | http://apinode.credits.com/api/monitor/gettransactionsbywallet |
Description
Gets a list of transactions by a wallet address.
Request
Request Structure
JSON
x
{"PublicKey": "base58_string", // Wallet address “Limit”: 100 // List of tokens separated by a comma}Request Parameters
string: PublicKey - Wallet address (public key) in Base58
optional string: Limit- Range of transactions on the wallet(":100" - display up to 100 transactions, "100:" - display more than 100 transactions, "100:200" - display transaction from 100 to 200)), displays the last 10 transactions by default
Response
JSON output depends on the request type and its success.
If there’s an error, request returns to the node basic Result:
- Success: False
- Message:
If successful, requested information is returned.
Response Structure
Response when requesting a Limit of :1
JSON
{ "transactions": [ { "id": "String", // TransactionID "fromAccount": "Base58_String", // Publickey of the Sender "toAccount": "Base58_String", //Publickey of the Receiver "time": "Datetime_String", // Storetime of Transaction in String Value "sum": "Decimal_String", // Amount of currency transfered in String Value "fee": "Decimal_String", // Amount Fee it needed for transaction in String Value "currency": "String", // Type of currency in String Value "innerId": Integer, // innerID of a transaction in Integer Value "type": "Integer_String", // Transaction type in String Value "status": "String" // Shows status of the Transaction in String Value } ], "success": bool, // Shows if request was Succes or False Boolean Value "message": "String" // Shows if a problem occurred in String Value}Example Code
Python
C#
C++
import requestsimport jsondef gettransactionsbywallet(): url = 'http://apinode.credits.com/api/monitor/gettransactionsbywallet' headers = { 'Content-type': 'application/json' , 'Accept': 'application/json' , 'Content-Encoding': 'utf-8' } data = { "authKey":"" , "NetworkAlias":"Mainnet" , "PublicKey":"HhhRGwgA3W5qcNFrLC3odC4GmbkQnhdEc5XPqBiRW3Wx" , "Limit":100 } answer = requests.post(url, data=json.dumps(data), headers=headers) response = answer.json() print(response)gettransactionsbywallet()Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Next to read:
GetTransactionInfo()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