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
header
required

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.

id
integer
default:
1
required

Identifier for the request.

jsonrpc
string
default:
2.0
required

JSON-RPC protocol version, should be 2.0.

method
string
default:
particle_aa_getBTCAccountsByAddress
required

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.

id
integer

Identifier matching the request.

jsonrpc
string

JSON-RPC protocol version used in the response.

result
object[]

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