\BitcoinApi

All URIs are relative to https://beta.usemoon.ai

Method
HTTP request
Description

POST /bitcoin

GET /bitcoin/{accountName}

GET /bitcoin

POST /bitcoin/{accountName}/sign-tx

create_bitcoin_account

crate::models::AccountApiResponse create_bitcoin_account(authorization, bitcoin_input)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

bitcoin_input

[required]

Return type

crate::models::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]

get_bitcoin_account

crate::models::AccountApiResponse get_bitcoin_account(authorization, account_name)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

account_name

String

[required]

Return type

crate::models::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]

list_bitcoin_accounts

crate::models::AccountApiResponse list_bitcoin_accounts(authorization)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

Return type

crate::models::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]

sign_bitcoin_transaction

crate::models::BitcoinApiResponse sign_bitcoin_transaction(authorization, account_name, bitcoin_transaction_input)

Parameters

Name
Type
Description
Required
Notes

authorization

String

[required]

account_name

String

[required]

bitcoin_transaction_input

[required]

Return type

crate::models::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]

Last updated