Skip to content

Commit aa5209d

Browse files
Address PR feedback: rename getAddresses to stx_getAddresses
- Change method name from getAddresses to stx_getAddresses for consistency - Update JSON request example to use stx_getAddresses method name - Maintains naming pattern with other Stacks RPC methods that use stx_ prefix - Addresses jakubuid's GitHub comment about naming consistency Co-Authored-By: [email protected] <[email protected]>
1 parent 635ec6b commit aa5209d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

advanced/multichain/rpc-reference/stacks-rpc.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ These are the methods that wallets should implement to handle Stacks transfers a
77

88
## Core Methods (common)
99

10-
### getAddresses
10+
### stx_getAddresses
1111

1212
Retrieve active account addresses; primarily Stacks-focused.
1313

@@ -17,7 +17,7 @@ Retrieve active account addresses; primarily Stacks-focused.
1717
{
1818
"id": 1,
1919
"jsonrpc": "2.0",
20-
"method": "getAddresses",
20+
"method": "stx_getAddresses",
2121
"params": {}
2222
}
2323
```

0 commit comments

Comments
 (0)