Skip to content

Instantly share code, notes, and snippets.

@mike-luabase
Created February 16, 2022 22:53
Show Gist options
  • Save mike-luabase/160c2cbf47bce586229eeb5dbbc18ded to your computer and use it in GitHub Desktop.
Save mike-luabase/160c2cbf47bce586229eeb5dbbc18ded to your computer and use it in GitHub Desktop.
import pandas as pd
import requests
url = "https://api.luabase.com/run"
address = "0x283af0b28c62c092c9727f1ee09c02ca627eb7f5"
payload = {
"uuid": "b84f9d2ca5204449a42e96eaca30954b",
"parameters": {
"address": {
"value": address,
"type": "value"
}
}
}
headers = {"content-type": "application/json"}
response = requests.request("POST", url, json=payload, headers=headers)
data = response.json()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment