codexsdk 1.0.0

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

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**approve**]Erc20Api.md#approve | **POST** /erc20/{address}/approve | 
[**get_allowance**]Erc20Api.md#get_allowance | **GET** /erc20/{account}/allowance | 
[**get_balance_of**]Erc20Api.md#get_balance_of | **GET** /erc20/{account}/balanceOf | 
[**get_decimals**]Erc20Api.md#get_decimals | **GET** /erc20/{account}/decimals | 
[**get_name**]Erc20Api.md#get_name | **GET** /erc20/{account}/name | 
[**get_symbol**]Erc20Api.md#get_symbol | **GET** /erc20/{account}/symbol | 
[**get_total_supply**]Erc20Api.md#get_total_supply | **GET** /erc20/{account}/totalSupply | 
[**transfer**]Erc20Api.md#transfer | **POST** /erc20/{address}/transfer | 
[**transfer_from**]Erc20Api.md#transfer_from | **POST** /erc20/{address}/transferFrom | 



## approve

> models::Erc20ApiResponseErc20ExecuteFunctionResult approve(address, authorization, erc20_input_body)


### Parameters


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

### Return type

[**models::Erc20ApiResponseErc20ExecuteFunctionResult**](ERC20APIResponse_ERC20ExecuteFunctionResult_.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_allowance

> models::Erc20ApiResponseString get_allowance(account, authorization, chain_id, address, owner, spender)


### Parameters


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

### Return type

[**models::Erc20ApiResponseString**](ERC20APIResponse_string_.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_balance_of

> models::Erc20ApiResponseString get_balance_of(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::Erc20ApiResponseString**](ERC20APIResponse_string_.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_decimals

> models::Erc20ApiResponseNumber get_decimals(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::Erc20ApiResponseNumber**](ERC20APIResponse_number_.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_name

> models::Erc20ApiResponseString get_name(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::Erc20ApiResponseString**](ERC20APIResponse_string_.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_symbol

> models::Erc20ApiResponseString get_symbol(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::Erc20ApiResponseString**](ERC20APIResponse_string_.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_supply

> models::Erc20ApiResponseString get_total_supply(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::Erc20ApiResponseString**](ERC20APIResponse_string_.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)


## transfer

> models::Erc20ApiResponseErc20ExecuteFunctionResult transfer(address, authorization, erc20_input_body)


### Parameters


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

### Return type

[**models::Erc20ApiResponseErc20ExecuteFunctionResult**](ERC20APIResponse_ERC20ExecuteFunctionResult_.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)


## transfer_from

> models::Erc20ApiResponseErc20ExecuteFunctionResult transfer_from(address, authorization, erc20_input_body)


### Parameters


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

### Return type

[**models::Erc20ApiResponseErc20ExecuteFunctionResult**](ERC20APIResponse_ERC20ExecuteFunctionResult_.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)