getTransactionSummary
GET https://api.covalenthq.com/v1/:chainName/address/:walletAddress/transactions_summary/?quote-currency=&with-gas=
Returns: TransactionsSummaryResponse{
"updated_at" : "{{DATETIME}}",
"address" : "{{STRING}}",
"chain_id" : "{{INTEGER}}",
"chain_name" : "{{STRING}}",
"items" : [ {
"total_count" : "{{INTEGER}}",
"earliest_transaction" : {
"block_signed_at" : "{{DATETIME}}",
"tx_hash" : "{{STRING}}",
"tx_detail_link" : "{{STRING}}"
},
"latest_transaction" : "{{TransactionSummary}}",
"gas_summary" : {
"total_sent_count" : "{{INTEGER}}",
"total_fees_paid" : "{{STRING}}",
"total_gas_quote" : "{{DOUBLE}}",
"pretty_total_gas_quote" : "{{STRING}}",
"average_gas_quote_per_tx" : "{{DOUBLE}}",
"pretty_average_gas_quote_per_tx" : "{{STRING}}",
"gas_metadata" : {
"contract_decimals" : "{{INTEGER}}",
"contract_name" : "{{STRING}}",
"contract_ticker_symbol" : "{{STRING}}",
"contract_address" : "{{STRING}}",
"supports_erc" : [ "{{STRING}}" ],
"logo_url" : "{{STRING}}"
}
}
} ]
}
Body
PARAM
Key | Datatype | Required | Description |
quote-currency
|
null | ||
with-gas
|
null |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string |
RESPONSES
status
ENDPOINTS