codexsdk 1.0.0

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
# \Erc4626Api

All URIs are relative to *https://beta.usemoon.ai*

Method | HTTP request | Description
------------- | ------------- | -------------
[**deposit**]Erc4626Api.md#deposit | **POST** /erc4626/{address}/deposit | 
[**get_asset**]Erc4626Api.md#get_asset | **GET** /erc4626/{account}/asset | 
[**get_convert_to_assets**]Erc4626Api.md#get_convert_to_assets | **GET** /erc4626/{account}/convertToAssets | 
[**get_convert_to_shares**]Erc4626Api.md#get_convert_to_shares | **GET** /erc4626/{account}/convertToShares | 
[**get_max_deposit**]Erc4626Api.md#get_max_deposit | **GET** /erc4626/{account}/maxDeposit | 
[**get_total_assets**]Erc4626Api.md#get_total_assets | **GET** /erc4626/{account}/totalAssets | 
[**withdraw**]Erc4626Api.md#withdraw | **POST** /erc4626/{address}/withdraw | 



## deposit

> models::Erc4626ApiResponse deposit(address, authorization, input_body)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**address** | **String** |  | [required] |
**authorization** | **String** |  | [required] |
**input_body** | [**InputBody**]InputBody.md |  | [required] |

### Return type

[**models::Erc4626ApiResponse**](ERC4626APIResponse.md)

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [BearerAuth](../README.md#BearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_asset

> models::Erc4626ApiResponse get_asset(account, authorization, chain_id, address)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**account** | **String** |  | [required] |
**authorization** | **String** |  | [required] |
**chain_id** | **String** |  | [required] |
**address** | **String** |  | [required] |

### Return type

[**models::Erc4626ApiResponse**](ERC4626APIResponse.md)

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [BearerAuth](../README.md#BearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_convert_to_assets

> models::Erc4626ApiResponse get_convert_to_assets(account, authorization, chain_id, address, shares)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**account** | **String** |  | [required] |
**authorization** | **String** |  | [required] |
**chain_id** | **String** |  | [required] |
**address** | **String** |  | [required] |
**shares** | **String** |  | [required] |

### Return type

[**models::Erc4626ApiResponse**](ERC4626APIResponse.md)

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [BearerAuth](../README.md#BearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_convert_to_shares

> models::Erc4626ApiResponse get_convert_to_shares(account, authorization, chain_id, address, assets)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**account** | **String** |  | [required] |
**authorization** | **String** |  | [required] |
**chain_id** | **String** |  | [required] |
**address** | **String** |  | [required] |
**assets** | **String** |  | [required] |

### Return type

[**models::Erc4626ApiResponse**](ERC4626APIResponse.md)

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [BearerAuth](../README.md#BearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_max_deposit

> models::Erc4626ApiResponse get_max_deposit(account, authorization, chain_id, address, receiver)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**account** | **String** |  | [required] |
**authorization** | **String** |  | [required] |
**chain_id** | **String** |  | [required] |
**address** | **String** |  | [required] |
**receiver** | **String** |  | [required] |

### Return type

[**models::Erc4626ApiResponse**](ERC4626APIResponse.md)

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [BearerAuth](../README.md#BearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_total_assets

> models::Erc4626ApiResponse get_total_assets(account, authorization, chain_id, address)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**account** | **String** |  | [required] |
**authorization** | **String** |  | [required] |
**chain_id** | **String** |  | [required] |
**address** | **String** |  | [required] |

### Return type

[**models::Erc4626ApiResponse**](ERC4626APIResponse.md)

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [BearerAuth](../README.md#BearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## withdraw

> models::Erc4626ApiResponse withdraw(address, authorization, input_body)


### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**address** | **String** |  | [required] |
**authorization** | **String** |  | [required] |
**input_body** | [**InputBody**]InputBody.md |  | [required] |

### Return type

[**models::Erc4626ApiResponse**](ERC4626APIResponse.md)

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [BearerAuth](../README.md#BearerAuth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)