\BitcoinAPI
All URIs are relative to https://beta.usemoon.ai
CreateBitcoinAccount
Post /bitcoin
GetBitcoinAccount
Get /bitcoin/{accountName}
ListBitcoinAccounts
Get /bitcoin
SignBitcoinTransaction
Post /bitcoin/{accountName}/sign-tx
CreateBitcoinAccount
AccountAPIResponse CreateBitcoinAccount(ctx).Authorization(authorization).BitcoinInput(bitcoinInput).Execute()
Example
Path Parameters
Other Parameters
Other parameters are passed through a pointer to a apiCreateBitcoinAccountRequest struct via the builder pattern
authorization
string
bitcoinInput
BitcoinInput
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]
GetBitcoinAccount
AccountAPIResponse GetBitcoinAccount(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 apiGetBitcoinAccountRequest 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]
ListBitcoinAccounts
AccountAPIResponse ListBitcoinAccounts(ctx).Authorization(authorization).Execute()
Example
Path Parameters
Other Parameters
Other parameters are passed through a pointer to a apiListBitcoinAccountsRequest 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]
SignBitcoinTransaction
BitcoinAPIResponse SignBitcoinTransaction(ctx, accountName).Authorization(authorization).BitcoinTransactionInput(bitcoinTransactionInput).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 apiSignBitcoinTransactionRequest struct via the builder pattern
authorization
string
bitcoinTransactionInput | BitcoinTransactionInput | |
Return type
BitcoinAPIResponse
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]