BTC Connect RPC
getBTCAccountsByAddress
Learn how to use the getBTCAccountsByAddress JSON-RPC method.
POST
Understanding getBTCAccountsByAddress
getBTCAccountsByAddress
return smart account btcAddress and it’s smart account address.address
- string, optional, smart account to query btc addressbtcAddress
- string, optional, btc address to query evm smart account address
Query example
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
Request to return smart account btcAddress and its smart account address.
Request schema for getBTCAccountsByAddress method.
Response
200 - application/json
Successful response with BTC and smart account addresses.
Response schema for getBTCAccountsByAddress.