Get BTC Account
BTC Connect RPC
getBTCAccount
Learn how to use the getBTCAccount JSON-RPC method.
POST
Get BTC Account
Documentation Index
Fetch the complete documentation index at: https://uasdev.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Understanding getBTCAccount
getBTCAccountcalculates and return the information of smart account tied to an account address from btc public key. It takes:
Account config object:name- string. onlyBTCversion- string. Either 1.0.0 or 2.0.0.btcPublicKey- string.btcAddress- string. optional
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 calculate and return information of a smart account tied to a BTC public key.
Defines the structure for BTC account request data.
Response
200 - application/json
Successful response with the smart account details.
