POST
/
#particle_aa_getBTCAccountsByAddress

Understanding getBTCAccountsByAddress

  • getBTCAccountsByAddressreturn smart account btcAddress and it’s smart account address.
    • address - string, optional, smart account to query btc address
    • btcAddress - string, optional, btc address to query evm smart account address

Query example

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Request schema for getBTCAccountsByAddress method.

jsonrpc
string
default: 2.0required

JSON-RPC protocol version, should be 2.0.

id
integer
default: 1required

Identifier for the request.

method
string
default: particle_aa_getBTCAccountsByAddressrequired

The method to be invoked on the RPC server.

params
object[]
required

Array containing parameters for querying BTC accounts by address.

Response

200 - application/json

Response schema for getBTCAccountsByAddress.

jsonrpc
string

JSON-RPC protocol version used in the response.

id
integer

Identifier matching the request.

result
object[]

List of BTC and smart account addresses associated with the queried address.