Skip to content

Latest commit

History

History
23 lines (12 loc) 路 775 Bytes

QuickNode.md

File metadata and controls

23 lines (12 loc) 路 775 Bytes

Sponsor Prize

QuickNode

Prize Requirements

Please add a sentence or two on why you're applicable for this prize.

Since we are giving investors the ability to dispute publicly visible transactions, we leverage QuickNode API to see wallet transactions and fetch owned soulbound NFTs that denote the fund's reputation.

QuickNodeAPI-Transaction+NFT_Fetch.mov

Link to the code where the tech is used.

import requests
import json
url = "https://proportionate-warmhearted-haze.matic.discover.quiknode.pro/857cce259927c7e00285734f61861d146425bef8/"
payload = json.dumps({
"id": 67,
"jsonrpc": "2.0",
"method": "qn_fetchNFTs",
"params": [{
"wallet": "0x0E5d299236647563649526cfa25c39d6848101f5",
"omitFields": [
"traits"
],
"page": 1,
"perPage": 10
}]
})
headers = {
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
payload = {
"id": 1,
"jsonrpc": "2.0",
"method": "qn_getTransactionsByAddress",
"params": ["0x0E5d299236647563649526cfa25c39d6848101f5"]
}
headers = {
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)

How easy is it to use the API / Protocol? (1 - very difficult, 10 - very easy)

10 馃専

Additional Feedback

Very easy to use, I love the documentation and API examples!