Tax
List summary of Inventory
Permissions required: Subaccount
List user's inventory summary for all assets.
get/tax/inventory/summary/{subaccountId}
Request
- Base URLhttps://api.anchorage-staging.com/v2
- AuthAPI key in header Api-Access-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
subaccountIdstring required
The ID of the subaccount
Query parameters
limitinteger
Number of results
offsetinteger
Offset of the results to start
Response
Successfully returned the inventory summary
Example response
{
"data": [
{
"assetType": "BTC",
"quantity": "5.5",
"costBasis": "2500.23"
},
{
"assetType": "BTC",
"quantity": "53.5",
"costBasis": "3600.23"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.