\SolanaAPI
All URIs are relative to https://beta.usemoon.ai
CreateSolanaAccount
Post /solana
GetSolanaAccount
Get /solana/{accountName}
ListSolanaAccounts
Get /solana
SignSolanaTransaction
Post /solana/{accountName}/sign-tx
CreateSolanaAccount
AccountAPIResponse CreateSolanaAccount(ctx).Authorization(authorization).SolanaInput(solanaInput).Execute()
Example
Path Parameters
Other Parameters
Other parameters are passed through a pointer to a apiCreateSolanaAccountRequest struct via the builder pattern
authorization
string
solanaInput
SolanaInput
Return type
AccountAPIResponse
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]
GetSolanaAccount
AccountAPIResponse GetSolanaAccount(ctx, accountName).Authorization(authorization).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
accountName
string
Other Parameters
Other parameters are passed through a pointer to a apiGetSolanaAccountRequest struct via the builder pattern
authorization
string
Return type
AccountAPIResponse
Authorization
ApiKeyAuth, BearerAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListSolanaAccounts
AccountAPIResponse ListSolanaAccounts(ctx).Authorization(authorization).Execute()
Example
Path Parameters
Other Parameters
Other parameters are passed through a pointer to a apiListSolanaAccountsRequest struct via the builder pattern
authorization
string
Return type
AccountAPIResponse
Authorization
ApiKeyAuth, BearerAuth
HTTP request headers
Content-Type: Not defined
Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SignSolanaTransaction
SolanaAPIResponse SignSolanaTransaction(ctx, accountName).Authorization(authorization).SolanaTransactionInput(solanaTransactionInput).Execute()
Example
Path Parameters
ctx
context.Context
context for authentication, logging, cancellation, deadlines, tracing, etc.
accountName
string
Other Parameters
Other parameters are passed through a pointer to a apiSignSolanaTransactionRequest struct via the builder pattern
authorization
string
solanaTransactionInput | SolanaTransactionInput | |
Return type
SolanaAPIResponse
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]