\Erc20Api

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

Method
HTTP request
Description

POST /erc20/{name}/allowance

POST /erc20/{name}/approve

POST /erc20/{name}/balance-of

POST /erc20/{name}/decimals

POST /erc20/{name}/name

POST /erc20/{name}/symbol

POST /erc20/{name}/total-supply

POST /erc20/{name}/transfer

POST /erc20/{name}/transfer-from

allowance_erc20

crate::models::TransactionApiResponse allowance_erc20(authorization, name, input_body)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

input_body

[required]

Return type

crate::models::TransactionApiResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

approve_erc20

crate::models::TransactionApiResponse approve_erc20(authorization, name, input_body)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

input_body

[required]

Return type

crate::models::TransactionApiResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

balance_of_erc20

crate::models::TransactionApiResponse balance_of_erc20(authorization, name, input_body)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

input_body

[required]

Return type

crate::models::TransactionApiResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

decimals_erc20

crate::models::TransactionApiResponse decimals_erc20(authorization, name, input_body)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

input_body

[required]

Return type

crate::models::TransactionApiResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

name_erc20

crate::models::TransactionApiResponse name_erc20(authorization, name, input_body)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

input_body

[required]

Return type

crate::models::TransactionApiResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

symbol_erc20

crate::models::TransactionApiResponse symbol_erc20(authorization, name, input_body)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

input_body

[required]

Return type

crate::models::TransactionApiResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

total_supply_erc20

crate::models::TransactionApiResponse total_supply_erc20(authorization, name, input_body)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

input_body

[required]

Return type

crate::models::TransactionApiResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

transfer_erc20

crate::models::TransactionApiResponse transfer_erc20(authorization, name, input_body)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

input_body

[required]

Return type

crate::models::TransactionApiResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

transfer_from_erc20

crate::models::TransactionApiResponse transfer_from_erc20(authorization, name, input_body)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

name

String

[required]

input_body

[required]

Return type

crate::models::TransactionApiResponse

Authorization

ApiKeyAuth, BearerAuth

HTTP request headers

  • Content-Type: application/json

  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

Last updated