forked from graphsense/graphsense-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fetch supported token currencies from rest api
- Loading branch information
Showing
17 changed files
with
260 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{- | ||
GraphSense API | ||
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. | ||
The version of the OpenAPI document: 1.1.1 | ||
Contact: [email protected] | ||
NOTE: This file is auto generated by the openapi-generator. | ||
https://github.com/openapitools/openapi-generator.git | ||
DO NOT EDIT THIS FILE MANUALLY. | ||
For more info on generating Elm code, see https://eriktim.github.io/openapi-elm/ | ||
-} | ||
|
||
|
||
module Api.Request.Tokens exposing (..) | ||
|
||
import Api | ||
import Api.Data | ||
import Dict | ||
import Http | ||
import Json.Decode | ||
import Json.Encode | ||
|
||
|
||
|
||
listSupportedTokens : (String) -> Api.Request Api.Data.TokenConfigs | ||
listSupportedTokens currency_path = | ||
Api.request | ||
"GET" | ||
"/{currency}/supported_tokens" | ||
[ ( "currency", identity currency_path ) ] | ||
[] | ||
[] | ||
Nothing | ||
Api.Data.tokenConfigsDecoder | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.