AccountsApi
moonsdk.AccountsApi
All URIs are relative to https://beta.usemoon.ai
broadcast_tx
BroadCastRawTransactionAPIResponse broadcast_tx(authorization, account_name, broadcast_input)
Example
Api Key Authentication (ApiKeyAuth):
Api Key Authentication (BearerAuth):
Parameters
Return type
BroadCastRawTransactionAPIResponse
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
HTTP response details
200
Ok
-
[Back to top] [Back to API list] [Back to Model list] [Back to README]
create_account
AccountAPIResponse create_account(authorization, create_account_input)
Example
Api Key Authentication (ApiKeyAuth):
Api Key Authentication (BearerAuth):
Parameters
authorization
str
Return type
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
HTTP response details
200
Ok
-
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_account
AccountAPIResponse delete_account(authorization, account_name)
Example
Api Key Authentication (ApiKeyAuth):
Api Key Authentication (BearerAuth):
Parameters
authorization
str
account_name
str
Return type
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
HTTP response details
200
Ok
-
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deploy_contract
TransactionAPIResponse deploy_contract(authorization, account_name, deploy_input)
Example
Api Key Authentication (ApiKeyAuth):
Api Key Authentication (BearerAuth):
Parameters
Return type
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
HTTP response details
200
Ok
-
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_account
AccountAPIResponse get_account(authorization, account_name)
Example
Api Key Authentication (ApiKeyAuth):
Api Key Authentication (BearerAuth):
Parameters
authorization
str
account_name
str
Return type
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
HTTP response details
200
Ok
-
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_balance
BalanceAPIResponse get_balance(account_name, authorization, chain_id)
Example
Api Key Authentication (ApiKeyAuth):
Api Key Authentication (BearerAuth):
Parameters
account_name
str
authorization
str
chain_id
str
Return type
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
HTTP response details
200
Ok
-
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_nonce
NonceAPIResponse get_nonce(account_name, authorization)
Example
Api Key Authentication (ApiKeyAuth):
Api Key Authentication (BearerAuth):
Parameters
account_name
str
authorization
str
Return type
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
HTTP response details
200
Ok
-
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list_accounts
AccountAPIResponse list_accounts(authorization)
Example
Api Key Authentication (ApiKeyAuth):
Api Key Authentication (BearerAuth):
Parameters
authorization
str
Return type
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
HTTP response details
200
Ok
-
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sign_message
SignMessageAPIResponse sign_message(account_name, authorization, sign_message)
Example
Api Key Authentication (ApiKeyAuth):
Api Key Authentication (BearerAuth):
Parameters
Return type
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
HTTP response details
200
Ok
-
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sign_transaction
TransactionAPIResponse sign_transaction(account_name, authorization, input_body)
Example
Api Key Authentication (ApiKeyAuth):
Api Key Authentication (BearerAuth):
Parameters
Return type
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
HTTP response details
200
Ok
-
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sign_typed_data
SignMessageAPIResponse sign_typed_data(account_name, authorization, sign_typed_data)
Example
Api Key Authentication (ApiKeyAuth):
Api Key Authentication (BearerAuth):
Parameters
Return type
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
HTTP response details
200
Ok
-
[Back to top] [Back to API list] [Back to Model list] [Back to README]
transfer_eth
TransactionAPIResponse transfer_eth(account_name, authorization, input_body)
Example
Api Key Authentication (ApiKeyAuth):
Api Key Authentication (BearerAuth):
Parameters
Return type
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
HTTP response details
200
Ok
-
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Last updated