APIs & SDKs
Log In
APIs & SDKs

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

{
    "jsonrpc": "2.0",
    "id": "1",
    "method": "particle_aa_getBTCAccountsByAddress",
    "params": [
        {
            "btcAddress": "bc1qlyv3djgklwe0lm02a0265u4y8gg252cmut3j2u"
        }
    ]
}

{
    "jsonrpc": "2.0",
    "id": "1",
    "method": "particle_aa_getBTCAccountsByAddress",
    "params": [
        {
            "address": "0x94727c34b2409cC5424368cF2D029c3fe3c2b1B7"
        }
    ]
}

Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!