helium / docs

Helium Documentation
https://docs.helium.com
122 stars 519 forks source link

Example given in the "Fetching Rewardable Entities" section is not returning any entity #1131

Open riobah opened 1 year ago

riobah commented 1 year ago

curl command returns an empty set.

% curl --request POST \
     --url https://rpc-devnet.aws.metaplex.com/ \
     --header 'Content-Type: application/json' \
     --data '{
      "jsonrpc": "2.0",
      "method": "search_assets",
      "id": "get-assets-op-1",
      "params": {
        "ownerAddress": "BcJzP2hEYgzjUwpHEtS6RhuqGfEJVx8Rq3MejujAAWrR",
        "page": 0,
        "creatorAddress": "9XtEZRnuWizL8vGoNwRX636guuSXTjQvsf3wAXmH4C1b",
        "creatorVerified": true,
        "sortBy": {"sortBy": "created", "sortDirection": "asc"}
      }
    }'
{"jsonrpc":"2.0","result":{"total":0,"limit":1000,"page":0,"items":[]},"id":"get-assets-op-1"}% 

Also the creator address is not returning 9XtEZRnuWizL8vGoNwRX636guuSXTjQvsf3wAXmH4C1b as given in the documentation.


const hntMintKey = 'hntyVP6YFm1Hg25TN9WGLqM12b8TQmcknKrdu1oxWux'
const hntMint = new PublicKey(hntMintKey)
const creator = entityCreatorKey(hntMint)[0]
const creatorAddress = creator.toBase58()
console.log(creatorAddress)     // outputs 7ZTLRBXPDr8vsZCpLZjWRYPGsHuErhbv5d7WSzPkvVzD```
davetapley commented 6 months ago

I get:

curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to rpc-devnet.aws.metaplex.com:443 

And Postman says:

Error: Client network socket disconnected before secure TLS connection was established