pull/827/head
Andrey 2023-07-10 14:48:41 +03:00
rodzic 93a620dd67
commit e329a807b6
2 zmienionych plików z 9 dodań i 14 usunięć

Wyświetl plik

@ -133,7 +133,6 @@ def recive_S3_data_from_query(
headers = {
"Authorization": f"Bearer {token}",
}
print(headers)
json = custom_body
response = requests.post(
@ -142,9 +141,7 @@ def recive_S3_data_from_query(
json=json,
timeout=5,
)
print(response.text)
data_url = MoonstreamQueryResultUrl(url=response.json()["url"])
print(data_url)
else:
data_url = client.exec_query(
token=token,

Wyświetl plik

@ -41,17 +41,15 @@
"name": "tokenId",
"type": "uint256",
"value": {
"type": "function",
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"address": "0xA2a13cE1824F3916fC84C65e559391fc6674e6e8",
"inputs": []
"type": "queryAPI",
"query_url": "template_erc721_minting",
"blockchain": "mumbai",
"params": {
"address": "0xA2a13cE1824F3916fC84C65e559391fc6674e6e8"
},
"keys": [
"token_id"
]
}
}
],