Website
Official site
curl -sS -X POST https://api-tangle-mainnet.dwellir.com/bd7663d3-bce4-4a7f-830c-38270f9daabd \-H 'Content-Type: application/json' \-d '{"id":1,"jsonrpc":"2.0","method":"chain_getBlockHash","params":[0]}'
import { ApiPromise, WsProvider } from '@polkadot/api';const provider = new WsProvider('wss://api-tangle-mainnet.dwellir.com/bd7663d3-bce4-4a7f-830c-38270f9daabd');const api = await ApiPromise.create({ provider });const hash = await api.rpc.chain.getBlockHash(0);console.log(hash.toHex());
from substrateinterface import SubstrateInterfacesubstrate = SubstrateInterface(url='wss://api-tangle-mainnet.dwellir.com/bd7663d3-bce4-4a7f-830c-38270f9daabd')block_hash = substrate.get_block_hash(block_id=0)print(block_hash)
package mainimport ("fmt"gsrpc "github.com/centrifuge/go-substrate-rpc-client/v4""github.com/centrifuge/go-substrate-rpc-client/v4/types")func main() {api, err := gsrpc.NewSubstrateAPI("wss://api-tangle-mainnet.dwellir.com/bd7663d3-bce4-4a7f-830c-38270f9daabd")if err != nil { panic(err) }var h types.Hashh, err = api.RPC.Chain.GetBlockHash(0)if err != nil { panic(err) }fmt.Println(h.Hex())}
Tangle is a platform that simplifies the building of scalable and interoperable Web3 applications. It provides developers with tools and protocols necessary to create decentralized solutions efficiently.
How many calls do you make per month?
and join other leading Web3 companies using Dwellir's infrastructure
© Copyright 2025 Dwellir AB