Learn how to use the getBTCAccount JSON-RPC method.
getBTCAccount
getBTCAccount
calculates and return the information of smart account tied to an account address from btc public key. It takes:name
- string. only BTC
version
- string. Either 1.0.0 or 2.0.0.btcPublicKey
- string.btcAddress
- string. optionalBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Request to calculate and return information of a smart account tied to a BTC public key.
Defines the structure for BTC account request data.
Successful response with the smart account details.
Response schema for getBTCAccount.