Dogecoin
deriveaddresses15 crédits
Returns addresses corresponding to an output descriptor
Paramètres
| Nom | Type | Description |
|---|---|---|
| descriptor | string | Output descriptor, including its checksum (use getdescriptorinfo to obtain it). |
| range | number | number[] | For ranged descriptors: the end index or a [begin, end] range to derive. (facultatif) |
Valeur renvoyée
Type
string[]
Derived addresses.
Exemples de code
curl https://holy-burned-sky-doge-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
-X POST \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "deriveaddresses",
"params": [
"wpkh([d34db33f/84h/0h/0h]xpub6DJ2dNUysrn5Vt36jH2KLBT2i1auw1tTSSomg8PhqNiUtx8QX2SvC9nrHu81fT41fvDUnhMjEzQgXnQjKEu3oaqMSzhSrHMxyyoEAmUHQbY/0/*)#cjjspncu",
[
0,
2
]
]
}'