get_transaction_history_public_treasury
Query cryptocurrency transaction history for public companies and governments by Entity ID to track holdings, values, and transaction types.
Instructions
When using this tool, always use the jq_filter parameter to reduce the response size and improve performance.
Only omit if you're sure you don't need the data.
This endpoint allows you query public companies & governments' cryptocurrency transaction history by Entity ID
Response Schema
{
$ref: '#/$defs/public_treasury_get_transaction_history_response',
$defs: {
public_treasury_get_transaction_history_response: {
type: 'object',
properties: {
transactions: {
type: 'array',
items: {
type: 'object',
properties: {
average_entry_value_usd: {
type: 'number',
description: 'average entry value in usd after the transaction'
},
coin_id: {
type: 'string',
description: 'coin ID'
},
date: {
type: 'number',
description: 'transaction date in UNIX timestamp'
},
holding_balance: {
type: 'number',
description: 'total holding balance after the transaction'
},
holding_net_change: {
type: 'number',
description: 'net change in holdings after the transaction'
},
source_url: {
type: 'string',
description: 'source document URL'
},
transaction_value_usd: {
type: 'number',
description: 'transaction value in usd'
},
type: {
type: 'string',
description: 'transaction type: buy or sell',
enum: [ 'buy',
'sell'
]
}
}
}
}
}
}
}
}
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | ||
| coin_ids | No | filter transactions by coin IDs, comma-separated if querying more than 1 coin *refers to [`/coins/list`](/reference/coins-list). | |
| order | No | use this to sort the order of transactions, default: `date_desc` | |
| page | No | page through results, default: `1` | |
| per_page | No | total results per page, default: `100` Valid values: 1...250 | |
| jq_filter | No | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field in every object of a results array, you can provide ".results[].name". For more information, see the [jq documentation](https://jqlang.org/manual/). |