We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 71900c8 + 3efe455 commit f3a0df1Copy full SHA for f3a0df1
1 file changed
docs/build/sdk/v2/indexer.md
@@ -238,3 +238,22 @@ const searchEvents = async () => {
238
console.log('Events', events);
239
};
240
```
241
+
242
+## Staking
243
244
+Retrieve extrinsic operations related to staking, filtered by the signer's address and the `stake` method.
245
246
+```typescript
247
+const getStakingExtrinsics = async (signerAddress: string) => {
248
+ const indexerClient = UniqueIndexer({
249
+ baseUrl: "https://api-unique.uniquescan.io/v2",
250
+ });
251
252
+ const extrinsics = await indexerClient.extrinsics({
253
+ signerIn: [signerAddress],
254
+ methodIn: ["stake"],
255
+ sectionIn: ["appPromotion"],
256
257
258
+ console.log('Staking Extrinsics', extrinsics);
259
+};
0 commit comments