githubEdit

Bitcoin

get

Lists the accounts associated with the provided authorization token.

Authorizations
AuthorizationstringRequired
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Responses
chevron-right
200

A promise that resolves to an AccountAPIResponse object containing the account data.

application/json

Interface representing the response from the Account API. Extends the BaseAPIResponse to include additional data specific to account responses.

successbooleanRequired

The success status of the operation.

messagestringRequired

The message associated with the operation.

addressstringOptional

The address associated with the operation.

get
/bitcoin
200

A promise that resolves to an AccountAPIResponse object containing the account data.

post

Creates a new Bitcoin account.

Authorizations
AuthorizationstringRequired
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Body
  • The input data required to create a Bitcoin account.
networkstringOptional

The network on which the transaction is taking place.

private_keystringOptional

The private key of the account.

Responses
chevron-right
200

A promise that resolves to an AccountAPIResponse object containing the account creation result.

application/json

Interface representing the response from the Account API. Extends the BaseAPIResponse to include additional data specific to account responses.

successbooleanRequired

The success status of the operation.

messagestringRequired

The message associated with the operation.

addressstringOptional

The address associated with the operation.

post
/bitcoin
200

A promise that resolves to an AccountAPIResponse object containing the account creation result.

get

Retrieves the account information for a given account name.

Authorizations
AuthorizationstringRequired
Path parameters
accountNamestringRequired
  • The name of the account to retrieve.
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Responses
chevron-right
200

A promise that resolves to an AccountAPIResponse object containing the account data.

application/json

Interface representing the response from the Account API. Extends the BaseAPIResponse to include additional data specific to account responses.

successbooleanRequired

The success status of the operation.

messagestringRequired

The message associated with the operation.

addressstringOptional

The address associated with the operation.

get
/bitcoin/{accountName}
200

A promise that resolves to an AccountAPIResponse object containing the account data.