\Erc20API
All URIs are relative to https://beta.usemoon.ai
AllowanceErc20
Post /erc20/{name}/allowance
ApproveErc20
Post /erc20/{name}/approve
BalanceOfErc20
Post /erc20/{name}/balance-of
DecimalsErc20
Post /erc20/{name}/decimals
NameErc20
Post /erc20/{name}/name
SymbolErc20
Post /erc20/{name}/symbol
TotalSupplyErc20
Post /erc20/{name}/total-supply
TransferErc20
Post /erc20/{name}/transfer
TransferFromErc20
Post /erc20/{name}/transfer-from
AllowanceErc20
TransactionAPIResponse AllowanceErc20(ctx, name).Authorization(authorization).InputBody(inputBody).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
name
string
Other Parameters
Other parameters are passed through a pointer to a apiAllowanceErc20Request struct via the builder pattern
authorization
string
inputBody | InputBody | |
Return type
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]
ApproveErc20
TransactionAPIResponse ApproveErc20(ctx, name).Authorization(authorization).InputBody(inputBody).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
name
string
Other Parameters
Other parameters are passed through a pointer to a apiApproveErc20Request struct via the builder pattern
authorization
string
inputBody | InputBody | |
Return type
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]
BalanceOfErc20
TransactionAPIResponse BalanceOfErc20(ctx, name).Authorization(authorization).InputBody(inputBody).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
name
string
Other Parameters
Other parameters are passed through a pointer to a apiBalanceOfErc20Request struct via the builder pattern
authorization
string
inputBody | InputBody | |
Return type
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]
DecimalsErc20
TransactionAPIResponse DecimalsErc20(ctx, name).Authorization(authorization).InputBody(inputBody).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
name
string
Other Parameters
Other parameters are passed through a pointer to a apiDecimalsErc20Request struct via the builder pattern
authorization
string
inputBody | InputBody | |
Return type
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]
NameErc20
TransactionAPIResponse NameErc20(ctx, name).Authorization(authorization).InputBody(inputBody).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
name
string
Other Parameters
Other parameters are passed through a pointer to a apiNameErc20Request struct via the builder pattern
authorization
string
inputBody | InputBody | |
Return type
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]
SymbolErc20
TransactionAPIResponse SymbolErc20(ctx, name).Authorization(authorization).InputBody(inputBody).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
name
string
Other Parameters
Other parameters are passed through a pointer to a apiSymbolErc20Request struct via the builder pattern
authorization
string
inputBody | InputBody | |
Return type
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]
TotalSupplyErc20
TransactionAPIResponse TotalSupplyErc20(ctx, name).Authorization(authorization).InputBody(inputBody).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
name
string
Other Parameters
Other parameters are passed through a pointer to a apiTotalSupplyErc20Request struct via the builder pattern
authorization
string
inputBody | InputBody | |
Return type
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]
TransferErc20
TransactionAPIResponse TransferErc20(ctx, name).Authorization(authorization).InputBody(inputBody).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
name
string
Other Parameters
Other parameters are passed through a pointer to a apiTransferErc20Request struct via the builder pattern
authorization
string
inputBody | InputBody | |
Return type
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]
TransferFromErc20
TransactionAPIResponse TransferFromErc20(ctx, name).Authorization(authorization).InputBody(inputBody).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
name
string
Other Parameters
Other parameters are passed through a pointer to a apiTransferFromErc20Request struct via the builder pattern
authorization
string
inputBody | InputBody | |
Return type
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]