AccountsApi
AccountsApi
All URIs are relative to https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app
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
broadcastTx
BroadCastRawTransactionAPIResponse broadcastTx(authorization, accountName, broadcastInput)
Example
Parameters
authorization
kotlin.String
accountName
kotlin.String
broadcastInput
Return type
BroadCastRawTransactionAPIResponse
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: application/json
Accept: application/json
createAccount
AccountAPIResponse createAccount(authorization, createAccountInput)
Example
Parameters
authorization
kotlin.String
createAccountInput
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: application/json
Accept: application/json
deleteAccount
AccountAPIResponse deleteAccount(authorization, accountName)
Example
Parameters
authorization
kotlin.String
accountName
kotlin.String
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: Not defined
Accept: application/json
deployContract
TransactionAPIResponse deployContract(authorization, accountName, deployInput)
Example
Parameters
authorization
kotlin.String
accountName
kotlin.String
deployInput
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: application/json
Accept: application/json
getAccount
AccountAPIResponse getAccount(authorization, accountName)
Example
Parameters
authorization
kotlin.String
accountName
kotlin.String
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: Not defined
Accept: application/json
getBalance
BalanceAPIResponse getBalance(accountName, authorization, chainId)
Example
Parameters
accountName
kotlin.String
authorization
kotlin.String
chainId
kotlin.String
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: Not defined
Accept: application/json
getNonce
NonceAPIResponse getNonce(accountName, authorization)
Example
Parameters
accountName
kotlin.String
authorization
kotlin.String
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: Not defined
Accept: application/json
listAccounts
AccountAPIResponse listAccounts(authorization)
Example
Parameters
authorization
kotlin.String
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: Not defined
Accept: application/json
signMessage
SignMessageAPIResponse signMessage(accountName, authorization, signMessage)
Example
Parameters
accountName
kotlin.String
authorization
kotlin.String
signMessage
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: application/json
Accept: application/json
signTransaction
TransactionAPIResponse signTransaction(accountName, authorization, inputBody)
Example
Parameters
accountName
kotlin.String
authorization
kotlin.String
inputBody
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: application/json
Accept: application/json
signTypedData
SignMessageAPIResponse signTypedData(accountName, authorization, signTypedData)
Example
Parameters
accountName
kotlin.String
authorization
kotlin.String
signTypedData
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: application/json
Accept: application/json
transferEth
TransactionAPIResponse transferEth(accountName, authorization, inputBody)
Example
Parameters
accountName
kotlin.String
authorization
kotlin.String
inputBody
Return type
Authorization
Configure ApiKeyAuth: ApiClient.apiKey["x-api-key"] = "" ApiClient.apiKeyPrefix["x-api-key"] = "" Configure BearerAuth: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
HTTP request headers
Content-Type: application/json
Accept: application/json
Last updated