Wallet

Get user wallet

GET https://api.ambro-crypto.fr/p/users/{id}/wallets

Query Parameters

Name
Type
Description

*

String

User custom id

chevron-rightResult Typehashtag
[
    {
        "total": 787.1170830141149,
        "_id": "64a6d46bb1afb150cdc810da",
        "user": "64a2ed8e0148ae40ea81cd51",
        "thematics": "63ac128cdef559566a00b57e",
        "tokens": [
            {
                "token": Token,
                "amount": 0.21347259852382894,
                "total": 369.8047315010293
            },
            {
                "token": Token,
                "amount": 0.01495287230056298,
                "total": 417.31235151308556
            }
        ]
    },...
]


Get all user's wallet history

GET https://api.ambro-crypto.fr/p/users/{id}/wallets/history

Retrieve the user's global wallet

Query Parameters

Name
Type
Description

*

String

User custom id

return an array of users

chevron-rightResult Typehashtag


Get user's wallet history by type

GET https://api.ambro-crypto.fr/p/users/{id}/wallets/history/{historyType}

Retrieve all the history of a thematic

Query Parameters

Name
Type
Description

*

String

User custom id

historyType*

HistoryType

Type of history (day|week|month|year|all)

chevron-rightResult Typehashtag

Get user's wallet by thematic history

GET https://api.ambro-crypto.fr/p/users/{id}/wallets/thematics/{thematicId}/history

Retrieve the user's global wallet

Query Parameters

Name
Type
Description

*

String

User custom id

thematicId*

String

Thematic's id

return an array of users

chevron-rightResult Typehashtag

Get user's wallet by thematic and historyType

GET https://api.ambro-crypto.fr/p/users/{id}/wallets/thematics/{thematicId}/history/{historyType}

Query Parameters

Name
Type
Description

*

String

User custom id

thematicId*

String

Thematic's id

historyType*

HistoryType

return an array of users

chevron-rightResult Typehashtag

Last updated