\AccountsApi
All URIs are relative to https://beta.usemoon.ai
POST /accounts/{accountName}/broadcast-tx
POST /accounts
DELETE /accounts/{accountName}
POST /accounts/{accountName}/deploy
GET /accounts/{accountName}
GET /accounts/{accountName}/balance
GET /accounts/{accountName}/nonce
GET /accounts
POST /accounts/{accountName}/sign-message
POST /accounts/{accountName}/sign-transaction
POST /accounts/{accountName}/sign-typed-data
POST /accounts/{accountName}/transfer-eth
broadcast_tx
crate::models::BroadCastRawTransactionApiResponse broadcast_tx(authorization, account_name, broadcast_input)
Parameters
authorization
String
[required]
account_name
String
[required]
broadcast_input
[required]
Return type
crate::models::BroadCastRawTransactionApiResponse
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
create_account
crate::models::AccountApiResponse create_account(authorization, create_account_input)
Parameters
authorization
String
[required]
create_account_input
[required]
Return type
crate::models::AccountApiResponse
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_account
crate::models::AccountApiResponse delete_account(authorization, account_name)
Parameters
authorization
String
[required]
account_name
String
[required]
Return type
crate::models::AccountApiResponse
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deploy_contract
crate::models::TransactionApiResponse deploy_contract(authorization, account_name, deploy_input)
Parameters
authorization
String
[required]
account_name
String
[required]
deploy_input
[required]
Return type
crate::models::TransactionApiResponse
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_account
crate::models::AccountApiResponse get_account(authorization, account_name)
Parameters
authorization
String
[required]
account_name
String
[required]
Return type
crate::models::AccountApiResponse
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_balance
crate::models::BalanceApiResponse get_balance(account_name, authorization, chain_id)
Parameters
account_name
String
[required]
authorization
String
[required]
chain_id
String
[required]
Return type
crate::models::BalanceApiResponse
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_nonce
crate::models::NonceApiResponse get_nonce(account_name, authorization)
Parameters
account_name
String
[required]
authorization
String
[required]
Return type
crate::models::NonceApiResponse
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list_accounts
crate::models::AccountApiResponse list_accounts(authorization)
Parameters
authorization
String
[required]
Return type
crate::models::AccountApiResponse
Authorization
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sign_message
crate::models::SignMessageApiResponse sign_message(account_name, authorization, sign_message)
Parameters
account_name
String
[required]
authorization
String
[required]
sign_message
[required]
Return type
crate::models::SignMessageApiResponse
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sign_transaction
crate::models::TransactionApiResponse sign_transaction(account_name, authorization, input_body)
Parameters
account_name
String
[required]
authorization
String
[required]
input_body
[required]
Return type
crate::models::TransactionApiResponse
Authorization
HTTP request headers
Content-Type: application/json
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sign_typed_data
crate::models::SignMessageApiResponse sign_typed_data(account_name, authorization, sign_typed_data)
Parameters
account_name
String
[required]
authorization
String
[required]
sign_typed_data
[required]
Return type
crate::models::SignMessageApiResponse
Authorization
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_eth
crate::models::TransactionApiResponse transfer_eth(account_name, authorization, input_body)
Parameters
account_name
String
[required]
authorization
String
[required]
input_body
[required]
Return type
crate::models::TransactionApiResponse
Authorization
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