Skip to content

Instantly share code, notes, and snippets.

View andrewpaulicek's full-sized avatar

Andrew Paulicek andrewpaulicek

View GitHub Profile
I am attesting that this GitHub handle andrewpaulicek is linked to the Tezos account tz1bfRNFfFbDpq6RHGxmuUutsRJxWMZG2eVw for tzprofiles
sig:edsigu3ELfJ69KQFnfetyotZ9feacd72bwChpR5fipBQurRLWcg94H8UuBHyFubpTi7RP7vn3iR2beoRaY1HHnQoMhoWBo5ytWZ
query BalancesForAddress {
balances(where: { ownerAddress: "tz1ZCoiRWosHikbC7g7o7HgckC6da3dhTN31", contract: "KT1GRSvLoikDsXujKgZPsGLX8k8VvR2Tq95b" }) {
amount
contract {
id
address
}
}
}
# Write your query or mutation here
{
reverseRecords(
where: {
address: {
in: [
"tz1aCzsYRUgDZBV7zb7Si6q2AobrocFW5qwb"
"tz1a6ZKyEoCmfpsY74jEq6uKBK8RQXdj1aVi"
]
}
query GetTokenHistoryBalanceForAddress {
balances(where: {_and: [{ownerAddress: {_eq: tz1ZCoiRWosHikbC7g7o7HgckC6da3dhTN31}}, {tokenContractAddress: {_eq: KT1GRSvLoikDsXujKgZPsGLX8k8VvR2Tq95b}}]}, order_by: {validFromBlock: {level: desc}, validUntilBlock: {level: desc}}) {
amount
tokenContractAddress
validFromBlock {
level
}
validUntilBlock {
level
}
tezos-client transfer 0 from <account> to KT1H1MqmUM4aK9i1833EBmYCCEfkbt6ZdSBc \
--arg "(Pair\
0x$(echo -n <your full domain name> | od -A n -t x1 | tr -d " \n") \
(Some \"<your address>\") \
\"<your owner>\" \
{})" \
--burn-cap 1 --entrypoint update_record
KT1MNSRMoGM8ibvgcHjXmLM2KMPmasFBJcS8
# All transactions (including mempool)
subscription {
transactionAdded(includeMempool:true)
{
origin
source
block {
hash
}
}
{"claims":[{"url":"https://baklava-attestation.happycelo.com","timestamp":1603229991,"type":"ATTESTATION_SERVICE_URL"}],"meta":{"address":"0xB7349B64D244563675643c0D30292b5CAC5dD772","signature":"0xc5a496ecf8b2ae507dc24ca963f72c4f815198c5deaaf7e97f042a52e27be40f722e1bbc3cf177d294328ccee29d91443749facef8e73da05e87ef531dd760f51c"}}
{"claims":[{"url":"https://attestation2.happycelo.com","timestamp":1589895534,"type":"ATTESTATION_SERVICE_URL"},{"domain":"HappyCelo.com","timestamp":1589896502,"type":"DOMAIN"},{"timestamp":1589897001,"type":"ACCOUNT","address":"0x481EAdE762d6D0b49580189B78709c9347b395bf"}],"meta":{"address":"0x55564902239df06184357580807FF7b40A75210a","signature":"0x1e73b9d312466892169704a810068b3d4e19ba63102b8f6376f9ed50d639939d3c37b9f4a740f52bb401d8c73c26817ba264ece486f30f2c414bbdcf16f215a81c"}}
{"claims":[{"url":"https://attestation.happycelo.com","timestamp":1587731462,"type":"ATTESTATION_SERVICE_URL"},{"domain":"HappyCelo.com","timestamp":1587832112,"type":"DOMAIN"},{"timestamp":1588416202,"type":"ACCOUNT","address":"0x481EAdE762d6D0b49580189B78709c9347b395bf"}],"meta":{"address":"0xF0b25502595911b64de75F453b34557C1b2c4760","signature":"0x687e7d312d3eb614f28f8b0d059ff7052a5f2759cbcb6826621487cbb9a68499337dd15923aea07b5f5c60b7ec972855cb0e0472bb7831362b1e30a98731901f1c"}}