Coverage
Get Supported Chains
Returns details of the chains supported by Treehouse APIs.
Scoped Chains
GET
https://api.treehouse.finance/v1/coverage/scoped_chains
Get Supported Protocols
Returns details of the protocols supported by Treehouse APIs.
Scoped Protocols
GET
https://api.treehouse.finance/v1/coverage/scoped_protocols/scoped_protocols
Query Parameters
Name | Type | Description |
---|---|---|
chain_id* | String | the Treehouse |
Get Supported Tokens
Returns details of the tokens supported by Treehouse APIs.
Scoped Tokens
GET
https://api.treehouse.finance/v1/coverage/scoped_tokens
Query Parameters
Name | Type | Description |
---|---|---|
chain_id* | String | the Treehouse |
Get Supported Contracts
Returns details of the contracts supported by Treehouse APIs.
Scoped Contracts
GET
https://api.treehouse.finance/v1/coverage/scoped_contracts
Query Parameters
Name | Type | Description |
---|---|---|
chain_id* | String | the Treehouse |
protocol_id* | String | the Treehouse |
Get Method Hex by Action Type
Returns the method hexes supported by Treehouse APIs based on action type.
Map Action Type
GET
https://api.treehouse.finance/v1/coverage/map_action_type
Query Parameters
Name | Type | Description |
---|---|---|
action_type* | String | the action type of a transaction |
page | Integer | pagination in the event the number of transactions exceed page size |
pageSize | Integer | number of transactions per page. Max page size = 1000 |
Get Action Type by Method Hex
Returns the action types supported by Treehouse APIs based on method hex.
Map Method Hex
GET
https://api.treehouse.finance/v1/coverage/map_method_hex
Query Parameters
Name | Type | Description |
---|---|---|
method_hex* | String | the method hex of a transaction |
page | Integer | pagination in the event the number of transactions exceed page size |
pageSize | Integer | number of transactions per page. Max page size = 1000 |
Last updated