GraphQL fragment defining chain fields for union SDK.
// Source: https://github.com/unionlabs/union | License: Apache-2.0 | Copyright 2024 Union.fi Labs, Inc
// Provided via justclaw.it.com; keep this notice with the code.
import { graphql } from "gql.tada"
export const ChainFragment = graphql(`
fragment ChainFragment on v2_chain_type {
chain_id
universal_chain_id
minter_address_display
display_name
addr_prefix
rpc_type
testnet
editions {
environment
name
}
features(where: { environment: { _eq: "PRODUCTION" } }) {
channel_list
connection_list
index_status
packet_list
transfer_submission
transfer_list
}
rpcs {
type
url
}
explorers {
address_url
block_url
description
display_name
home_url
name
tx_url
}
}
`)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key