getApprovals
GET https://api.covalenthq.com/v1/:chainName/approvals/:walletAddress/
Returns: ApprovalsResponse{
"address" : "{{STRING}}",
"updated_at" : "{{DATETIME}}",
"quote_currency" : "{{STRING}}",
"chain_id" : "{{INTEGER}}",
"chain_name" : "{{STRING}}",
"items" : [ {
"token_address" : "{{STRING}}",
"token_address_label" : "{{STRING}}",
"ticker_symbol" : "{{STRING}}",
"contract_decimals" : "{{INTEGER}}",
"logo_url" : "{{STRING}}",
"quote_rate" : "{{DOUBLE}}",
"balance" : "{{STRING}}",
"balance_quote" : "{{DOUBLE}}",
"pretty_balance_quote" : "{{STRING}}",
"value_at_risk" : "{{STRING}}",
"value_at_risk_quote" : "{{DOUBLE}}",
"pretty_value_at_risk_quote" : "{{STRING}}",
"spenders" : [ {
"block_height" : "{{INTEGER}}",
"tx_offset" : "{{INTEGER}}",
"log_offset" : "{{INTEGER}}",
"block_signed_at" : "{{DATETIME}}",
"tx_hash" : "{{STRING}}",
"spender_address" : "{{STRING}}",
"spender_address_label" : "{{STRING}}",
"allowance" : "{{STRING}}",
"allowance_quote" : "{{DOUBLE}}",
"pretty_allowance_quote" : "{{STRING}}",
"value_at_risk" : "{{STRING}}",
"value_at_risk_quote" : "{{DOUBLE}}",
"pretty_value_at_risk_quote" : "{{STRING}}",
"risk_factor" : "{{STRING}}"
} ]
} ]
}
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string |
RESPONSES
status
ENDPOINTS