IPFS hash converter
Documentation for Indexers how to get subgraph's ipfs hash from id and vise versa
Getting id from ipfs hash
$ pip install base58 $ python print("0x"+base58.b58decode("ipfs_hash").hex()[4:])
Getting ipfs from id
query { subgraphDeployments { id } }$ pip install base58 $ python print(base58.b58encode(bytes.fromhex("1220"+"subgraph_id"[2:])).decode('utf-8'))
Scripts and links
Last updated