Accounts

get

Lists Bitcoin Cash accounts associated with the provided authorization token.

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

A promise that resolves to a BitcoinCashAPIResponse containing an array of AccountResponse objects.

application/json
get
/bitcoincash/accounts
200

A promise that resolves to a BitcoinCashAPIResponse containing an array of AccountResponse objects.

post

Creates a new Bitcoin Cash account.

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

The network on which the transaction is taking place.

private_keystringOptional

The private key of the account.

Responses
200

A promise that resolves to a BitcoinCashAPIResponse containing the account response.

application/json
post
/bitcoincash/accounts
200

A promise that resolves to a BitcoinCashAPIResponse containing the account response.

get

Reads the account information for a given account name.

Authorizations
AuthorizationstringRequired
Path parameters
accountNamestringRequired
  • The name of the account to read.
Header parameters
AuthorizationstringRequired
  • The authorization token for the request.
Responses
200

A promise that resolves to a BitcoinCashAPIResponse containing the account information.

application/json
get
/bitcoincash/accounts/{accountName}
200

A promise that resolves to a BitcoinCashAPIResponse containing the account information.