📈Transactions

Query the transactions sent and received by address

🪄 Spell Index

Inspect the function name to learn more about how to use each spell!

Get Incoming Transactions

GET /transactions/get_incoming_transactions

Returns a list of the incoming transactions (ERC20 or native) for an address. Transactions whose dollar value is 0 are not included.

Query Parameters

Name
Type
Description

address*

String

The wallet address

page_size

String

Transactions included per page

page

String

Pagination number

Headers

Name
Type
Description

api*

String

Your API key

Example Python Input
requests.get("https://wardanalyticsapi.com/transactions/get_incoming_transactions",
        headers = {
            "api": "YOUR_API_KEY"
        }, 
        params = {
            "address": "115GnsdVzGYDGQMeTeMxWUJZySfJ4pgiPT"
        })
Example Output
{
    "total_page_count": 3, # How many pages will need to be scrolled through
    "transactions": [ # List of transactions
        {
         "blockNumber": 18793495, # Block number of the transaction
         "timestamp": 1702667255, # Timestamp of the transaction 
         "currency": "ETH", # Currency of the transaction
         "hash": "0xc8ad24f62c5a65dc4d83f7178b1c26fa1b6ed4a3341681d9c4e1520c7ed11503", # Hash of the transaction
         "inputs": [{"address": "0xb40969f60bfa246a09593099dace2ddd543254a3", "usdValue": 754, "value": 333000000000000000}], # List of inputs (only one for EVMs)
         "outputs": [{"address": "0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad", "usdValue": 754, "value": 333000000000000000}], # List of outputs (only one for EVMs)
         "usdValue": 754, # USD value of the transaction
         "value": 333000000000000000}, # Native value of the transaction
         ...
    ]
}    

Get Outgoing Transactions

GET /transactions/get_outgoing_transactions

Returns a list of the outgoing transactions (ERC20 or native) for an address. Transactions whose dollar value is 0 are not included.

Query Parameters

Name
Type
Description

address*

String

The wallet address

page_size

String

Transactions included per page

page

String

Pagination number

Headers

Name
Type
Description

api*

String

Your API key

Example Python Input
requests.get("https://wardanalyticsapi.com/transactions/get_outgoing_transactions",
        headers = {
            "api": "YOUR_API_KEY"
        }, 
        params = {
            "address": "115GnsdVzGYDGQMeTeMxWUJZySfJ4pgiPT"
        })
Example Output
{
    "total_page_count": 3, # How many pages will need to be scrolled through
    "transactions": [ # List of transactions
        {
         "blockNumber": 18793495, # Block number of the transaction
         "timestamp": 1702667255, # Timestamp of the transaction 
         "currency": "ETH", # Currency of the transaction
         "hash": "0xc8ad24f62c5a65dc4d83f7178b1c26fa1b6ed4a3341681d9c4e1520c7ed11503", # Hash of the transaction
         "inputs": [{"address": "0xb40969f60bfa246a09593099dace2ddd543254a3", "usdValue": 754, "value": 333000000000000000}], # List of inputs (only one for EVMs)
         "outputs": [{"address": "0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad", "usdValue": 754, "value": 333000000000000000}], # List of outputs (only one for EVMs)
         "usdValue": 754, # USD value of the transaction
         "value": 333000000000000000}, # Native value of the transaction
         ...
    ]
}    

Primary Fields

Detailed information on primary fields of /compliance/analyze-address

Key
Explanation

total_page_count int

Number of pages that will need to be requested

transactions field

The list of transactions

blockNumber int

Block number of the transaction

timestamp int

Timestamp of the transaction

currency string

Currency of the transaction

hash string

Hash of the transaction

inputs field

List of inputs of the transaction (1 for EVMs)

outputs field

List of outputs of the transaction (1 for EVMs)

value int

Native value of the transaction

usdValue int

Converted dollar value of the transaction

Last updated