GraphQL API
GraphQL API to get information about the multisigs
At Nomos we created our own backend to index data coming from the archway blockchain. Our system exposes a GraphQL API that you can use to get information about any multisig or proposal created.
Endpoints by network
Archway mainnet (Triomphe): https://mainnet-indexer.hasura.app/v1/graphql
Archway testnet (Constantine): https://testnet-indexer.hasura.app/v1/graphql
For each of these endpoints, you need to request an access token for it. Go to our discord and connect with our team to get access to them.
Usage
You can use any GraphQL request tool you find useful, node-fetch, Axios, Apollo, etc. Just make sure to add the correct headers:
content-type: "application/json"
x-hasura-admin-secret: "<your secret key>"
Schema
You can get more information about the schema objects and their relationships by connecting to our endpoint.
Account: Represents any account on the blockchain.
Contract: Represents any contract.
ContractInstance: Represents a contract deployed by a multisig.
ContractMetadata: Represents the metadata held by a contract.
Membership: Represents the relation between a multisig and a member of that multisig.
Multisig: A nomos multisignature wallet.
Proposal: A proposal created in a multisig. Can hold many messages.
Proposalmessage: A message in a proposal. Represents a message or a common transaction on the blockchain.
ProposalVotes: Represents a vote made in a proposal.
Transaction: Represents any transaction. Every action on the nomos contracts is related to a transaction.
Last updated