あぁ、全 kind 1 数、簡単に調べられる方法あったわ。

https://api.nostr.wine/search?kind=1&pubkey=2c7cc62a697ea3a7826521f3fd34f0cb273693cbe5e9310f35449f43622a5cdc

これ僕の kind 1 だけど pagenation の total_records がそれだわ。

https://damus.io/key/

ここで自分の npub を hex に直して pubkey を差し替えて以下を実行すれば総数が出る。

$ curl -s 'https://api.nostr.wine/search?kind=1&pubkey=2c7cc62a697ea3a7826521f3fd34f0cb273693cbe5e9310f35449f43622a5cdc' | jq -r '.pagination.total_records'

Reply to this note

Please Login to reply.

Discussion