GraphQL API Reference

Welcome to the party!

Contact

API Support
support@example.com

License

Apache 2.0
https://www.apache.org/licenses/LICENSE-2.0.html

Terms of Service: https://www.example.com/terms

API Endpoints
Production:
http://ec2-34-224-65-202.compute-1.amazonaws.com:8080/v1/graphql

Queries

ask

fetch data from the table: "ask"
Returns [ask!]!

Name Description
distinct_on - [ask_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [ask_order_by!] sort the rows by one or more columns
where - ask_bool_exp filter the rows returned

Example

Query
query ask($distinct_on: [ask_select_column!], $limit: Int, $offset: Int, $order_by: [ask_order_by!], $where: ask_bool_exp) {
  ask(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    amount
    amount_left
    artist {
      ...walletsFragment
    }
    artist_id
    creator {
      ...walletsFragment
    }
    creator_id
    fa2 {
      ...FA2Fragment
    }
    fa2_id
    fulfilled {
      ...fulfilled_askFragment
    }
    fulfilled_aggregate {
      ...fulfilled_ask_aggregateFragment
    }
    id
    level
    objkt_id
    price
    royalties
    status
    timestamp
    update_level
    update_timestamp
  }
}
Variables
{
  "distinct_on": [ask_select_column],
  "limit": 123,
  "offset": 123,
  "order_by": [ask_order_by],
  "where": ask_bool_exp
}
Response
{
  "data": {
    "ask": [
      {
        "amount": bigint,
        "amount_left": bigint,
        "artist": wallets,
        "artist_id": 123,
        "creator": wallets,
        "creator_id": 987,
        "fa2": FA2,
        "fa2_id": "xyz789",
        "fulfilled": [fulfilled_ask],
        "fulfilled_aggregate": fulfilled_ask_aggregate,
        "id": bigint,
        "level": bigint,
        "objkt_id": bigint,
        "price": bigint,
        "royalties": bigint,
        "status": "xyz789",
        "timestamp": timestamptz,
        "update_level": bigint,
        "update_timestamp": timestamptz
      }
    ]
  }
}

ask_aggregate

fetch aggregated fields from the table: "ask"
Returns an ask_aggregate!

Name Description
distinct_on - [ask_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [ask_order_by!] sort the rows by one or more columns
where - ask_bool_exp filter the rows returned

Example

Query
query ask_aggregate($distinct_on: [ask_select_column!], $limit: Int, $offset: Int, $order_by: [ask_order_by!], $where: ask_bool_exp) {
  ask_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...ask_aggregate_fieldsFragment
    }
    nodes {
      ...askFragment
    }
  }
}
Variables
{
  "distinct_on": [ask_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [ask_order_by],
  "where": ask_bool_exp
}
Response
{
  "data": {
    "ask_aggregate": {
      "aggregate": ask_aggregate_fields,
      "nodes": [ask]
    }
  }
}

ask_by_pk

fetch data from the table: "ask" using primary key columns
Returns an ask

Name Description
id - bigint!

Example

Query
query ask_by_pk($id: bigint!) {
  ask_by_pk(id: $id) {
    amount
    amount_left
    artist {
      ...walletsFragment
    }
    artist_id
    creator {
      ...walletsFragment
    }
    creator_id
    fa2 {
      ...FA2Fragment
    }
    fa2_id
    fulfilled {
      ...fulfilled_askFragment
    }
    fulfilled_aggregate {
      ...fulfilled_ask_aggregateFragment
    }
    id
    level
    objkt_id
    price
    royalties
    status
    timestamp
    update_level
    update_timestamp
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "ask_by_pk": {
      "amount": bigint,
      "amount_left": bigint,
      "artist": wallets,
      "artist_id": 987,
      "creator": wallets,
      "creator_id": 987,
      "fa2": FA2,
      "fa2_id": "abc123",
      "fulfilled": [fulfilled_ask],
      "fulfilled_aggregate": fulfilled_ask_aggregate,
      "id": bigint,
      "level": bigint,
      "objkt_id": bigint,
      "price": bigint,
      "royalties": bigint,
      "status": "abc123",
      "timestamp": timestamptz,
      "update_level": bigint,
      "update_timestamp": timestamptz
    }
  }
}

auctions

An array relationship
Returns [auctions!]!

Name Description
distinct_on - [auctions_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [auctions_order_by!] sort the rows by one or more columns
where - auctions_bool_exp filter the rows returned

Example

Query
query auctions($distinct_on: [auctions_select_column!], $limit: Int, $offset: Int, $order_by: [auctions_order_by!], $where: auctions_bool_exp) {
  auctions(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    _token_id
    auction_contract
    bids {
      ...bidsFragment
    }
    bids_aggregate {
      ...bids_aggregateFragment
    }
    creator {
      ...walletsFragment
    }
    creator_id
    highest_bid_address
    id
    level
    reserve_price
    sold_at
    status
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{
  "distinct_on": [auctions_select_column],
  "limit": 987,
  "offset": 123,
  "order_by": [auctions_order_by],
  "where": auctions_bool_exp
}
Response
{
  "data": {
    "auctions": [
      {
        "_token_id": "abc123",
        "auction_contract": "abc123",
        "bids": [bids],
        "bids_aggregate": bids_aggregate,
        "creator": wallets,
        "creator_id": 123,
        "highest_bid_address": "xyz789",
        "id": 987,
        "level": bigint,
        "reserve_price": bigint,
        "sold_at": bigint,
        "status": "xyz789",
        "token": tokens,
        "token_id": 987
      }
    ]
  }
}

auctions_aggregate

An aggregate relationship
Returns an auctions_aggregate!

Name Description
distinct_on - [auctions_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [auctions_order_by!] sort the rows by one or more columns
where - auctions_bool_exp filter the rows returned

Example

Query
query auctions_aggregate($distinct_on: [auctions_select_column!], $limit: Int, $offset: Int, $order_by: [auctions_order_by!], $where: auctions_bool_exp) {
  auctions_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...auctions_aggregate_fieldsFragment
    }
    nodes {
      ...auctionsFragment
    }
  }
}
Variables
{
  "distinct_on": [auctions_select_column],
  "limit": 123,
  "offset": 123,
  "order_by": [auctions_order_by],
  "where": auctions_bool_exp
}
Response
{
  "data": {
    "auctions_aggregate": {
      "aggregate": auctions_aggregate_fields,
      "nodes": [auctions]
    }
  }
}

auctions_by_pk

fetch data from the table: "auctions" using primary key columns
Returns an auctions

Name Description
id - Int!

Example

Query
query auctions_by_pk($id: Int!) {
  auctions_by_pk(id: $id) {
    _token_id
    auction_contract
    bids {
      ...bidsFragment
    }
    bids_aggregate {
      ...bids_aggregateFragment
    }
    creator {
      ...walletsFragment
    }
    creator_id
    highest_bid_address
    id
    level
    reserve_price
    sold_at
    status
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "auctions_by_pk": {
      "_token_id": "abc123",
      "auction_contract": "abc123",
      "bids": [bids],
      "bids_aggregate": bids_aggregate,
      "creator": wallets,
      "creator_id": 123,
      "highest_bid_address": "xyz789",
      "id": 123,
      "level": bigint,
      "reserve_price": bigint,
      "sold_at": bigint,
      "status": "abc123",
      "token": tokens,
      "token_id": 987
    }
  }
}

bid

fetch data from the table: "bid"
Returns [bid!]!

Name Description
distinct_on - [bid_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [bid_order_by!] sort the rows by one or more columns
where - bid_bool_exp filter the rows returned

Example

Query
query bid($distinct_on: [bid_select_column!], $limit: Int, $offset: Int, $order_by: [bid_order_by!], $where: bid_bool_exp) {
  bid(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    artist {
      ...walletsFragment
    }
    artist_id
    creator {
      ...walletsFragment
    }
    creator_id
    fa2 {
      ...FA2Fragment
    }
    fa2_id
    id
    level
    objkt_id
    price
    royalties
    seller {
      ...walletsFragment
    }
    seller_id
    status
    timestamp
    update_level
    update_timestamp
  }
}
Variables
{
  "distinct_on": [bid_select_column],
  "limit": 123,
  "offset": 123,
  "order_by": [bid_order_by],
  "where": bid_bool_exp
}
Response
{
  "data": {
    "bid": [
      {
        "artist": wallets,
        "artist_id": 987,
        "creator": wallets,
        "creator_id": 987,
        "fa2": FA2,
        "fa2_id": "xyz789",
        "id": bigint,
        "level": bigint,
        "objkt_id": bigint,
        "price": bigint,
        "royalties": bigint,
        "seller": wallets,
        "seller_id": 987,
        "status": "xyz789",
        "timestamp": timestamptz,
        "update_level": bigint,
        "update_timestamp": timestamptz
      }
    ]
  }
}

bid_aggregate

fetch aggregated fields from the table: "bid"
Returns a bid_aggregate!

Name Description
distinct_on - [bid_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [bid_order_by!] sort the rows by one or more columns
where - bid_bool_exp filter the rows returned

Example

Query
query bid_aggregate($distinct_on: [bid_select_column!], $limit: Int, $offset: Int, $order_by: [bid_order_by!], $where: bid_bool_exp) {
  bid_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...bid_aggregate_fieldsFragment
    }
    nodes {
      ...bidFragment
    }
  }
}
Variables
{
  "distinct_on": [bid_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [bid_order_by],
  "where": bid_bool_exp
}
Response
{
  "data": {
    "bid_aggregate": {
      "aggregate": bid_aggregate_fields,
      "nodes": [bid]
    }
  }
}

bid_by_pk

fetch data from the table: "bid" using primary key columns
Returns a bid

Name Description
id - bigint!

Example

Query
query bid_by_pk($id: bigint!) {
  bid_by_pk(id: $id) {
    artist {
      ...walletsFragment
    }
    artist_id
    creator {
      ...walletsFragment
    }
    creator_id
    fa2 {
      ...FA2Fragment
    }
    fa2_id
    id
    level
    objkt_id
    price
    royalties
    seller {
      ...walletsFragment
    }
    seller_id
    status
    timestamp
    update_level
    update_timestamp
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "bid_by_pk": {
      "artist": wallets,
      "artist_id": 987,
      "creator": wallets,
      "creator_id": 123,
      "fa2": FA2,
      "fa2_id": "xyz789",
      "id": bigint,
      "level": bigint,
      "objkt_id": bigint,
      "price": bigint,
      "royalties": bigint,
      "seller": wallets,
      "seller_id": 123,
      "status": "xyz789",
      "timestamp": timestamptz,
      "update_level": bigint,
      "update_timestamp": timestamptz
    }
  }
}

bids

An array relationship
Returns [bids!]!

Name Description
distinct_on - [bids_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [bids_order_by!] sort the rows by one or more columns
where - bids_bool_exp filter the rows returned

Example

Query
query bids($distinct_on: [bids_select_column!], $limit: Int, $offset: Int, $order_by: [bids_order_by!], $where: bids_bool_exp) {
  bids(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    _token_id
    auction {
      ...auctionsFragment
    }
    auction_id
    bidder {
      ...walletsFragment
    }
    bidder_id
    id
    is_winner
    level
    price
  }
}
Variables
{
  "distinct_on": [bids_select_column],
  "limit": 123,
  "offset": 123,
  "order_by": [bids_order_by],
  "where": bids_bool_exp
}
Response
{
  "data": {
    "bids": [
      {
        "_token_id": "xyz789",
        "auction": auctions,
        "auction_id": 123,
        "bidder": wallets,
        "bidder_id": 987,
        "id": 987,
        "is_winner": false,
        "level": bigint,
        "price": bigint
      }
    ]
  }
}

bids_aggregate

An aggregate relationship
Returns a bids_aggregate!

Name Description
distinct_on - [bids_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [bids_order_by!] sort the rows by one or more columns
where - bids_bool_exp filter the rows returned

Example

Query
query bids_aggregate($distinct_on: [bids_select_column!], $limit: Int, $offset: Int, $order_by: [bids_order_by!], $where: bids_bool_exp) {
  bids_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...bids_aggregate_fieldsFragment
    }
    nodes {
      ...bidsFragment
    }
  }
}
Variables
{
  "distinct_on": [bids_select_column],
  "limit": 123,
  "offset": 123,
  "order_by": [bids_order_by],
  "where": bids_bool_exp
}
Response
{
  "data": {
    "bids_aggregate": {
      "aggregate": bids_aggregate_fields,
      "nodes": [bids]
    }
  }
}

bids_by_pk

fetch data from the table: "bids" using primary key columns
Returns a bids

Name Description
id - Int!

Example

Query
query bids_by_pk($id: Int!) {
  bids_by_pk(id: $id) {
    _token_id
    auction {
      ...auctionsFragment
    }
    auction_id
    bidder {
      ...walletsFragment
    }
    bidder_id
    id
    is_winner
    level
    price
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "bids_by_pk": {
      "_token_id": "abc123",
      "auction": auctions,
      "auction_id": 987,
      "bidder": wallets,
      "bidder_id": 987,
      "id": 123,
      "is_winner": true,
      "level": bigint,
      "price": bigint
    }
  }
}

dipdup_contract

fetch data from the table: "dipdup_contract"
Returns [dipdup_contract!]!

Name Description
distinct_on - [dipdup_contract_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [dipdup_contract_order_by!] sort the rows by one or more columns
where - dipdup_contract_bool_exp filter the rows returned

Example

Query
query dipdup_contract($distinct_on: [dipdup_contract_select_column!], $limit: Int, $offset: Int, $order_by: [dipdup_contract_order_by!], $where: dipdup_contract_bool_exp) {
  dipdup_contract(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    address
    created_at
    name
    typename
    updated_at
  }
}
Variables
{
  "distinct_on": [dipdup_contract_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [dipdup_contract_order_by],
  "where": dipdup_contract_bool_exp
}
Response
{
  "data": {
    "dipdup_contract": [
      {
        "address": "abc123",
        "created_at": timestamptz,
        "name": "abc123",
        "typename": "abc123",
        "updated_at": timestamptz
      }
    ]
  }
}

dipdup_contract_aggregate

fetch aggregated fields from the table: "dipdup_contract"
Returns a dipdup_contract_aggregate!

Name Description
distinct_on - [dipdup_contract_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [dipdup_contract_order_by!] sort the rows by one or more columns
where - dipdup_contract_bool_exp filter the rows returned

Example

Query
query dipdup_contract_aggregate($distinct_on: [dipdup_contract_select_column!], $limit: Int, $offset: Int, $order_by: [dipdup_contract_order_by!], $where: dipdup_contract_bool_exp) {
  dipdup_contract_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...dipdup_contract_aggregate_fieldsFragment
    }
    nodes {
      ...dipdup_contractFragment
    }
  }
}
Variables
{
  "distinct_on": [dipdup_contract_select_column],
  "limit": 987,
  "offset": 123,
  "order_by": [dipdup_contract_order_by],
  "where": dipdup_contract_bool_exp
}
Response
{
  "data": {
    "dipdup_contract_aggregate": {
      "aggregate": dipdup_contract_aggregate_fields,
      "nodes": [dipdup_contract]
    }
  }
}

dipdup_contract_by_pk

fetch data from the table: "dipdup_contract" using primary key columns
Returns a dipdup_contract

Name Description
name - String!

Example

Query
query dipdup_contract_by_pk($name: String!) {
  dipdup_contract_by_pk(name: $name) {
    address
    created_at
    name
    typename
    updated_at
  }
}
Variables
{"name": "xyz789"}
Response
{
  "data": {
    "dipdup_contract_by_pk": {
      "address": "xyz789",
      "created_at": timestamptz,
      "name": "xyz789",
      "typename": "abc123",
      "updated_at": timestamptz
    }
  }
}

dipdup_head

fetch data from the table: "dipdup_head"
Returns [dipdup_head!]!

Name Description
distinct_on - [dipdup_head_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [dipdup_head_order_by!] sort the rows by one or more columns
where - dipdup_head_bool_exp filter the rows returned

Example

Query
query dipdup_head($distinct_on: [dipdup_head_select_column!], $limit: Int, $offset: Int, $order_by: [dipdup_head_order_by!], $where: dipdup_head_bool_exp) {
  dipdup_head(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    created_at
    hash
    level
    name
    timestamp
    updated_at
  }
}
Variables
{
  "distinct_on": [dipdup_head_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [dipdup_head_order_by],
  "where": dipdup_head_bool_exp
}
Response
{
  "data": {
    "dipdup_head": [
      {
        "created_at": timestamptz,
        "hash": "abc123",
        "level": 123,
        "name": "abc123",
        "timestamp": timestamptz,
        "updated_at": timestamptz
      }
    ]
  }
}

dipdup_head_aggregate

fetch aggregated fields from the table: "dipdup_head"
Returns a dipdup_head_aggregate!

Name Description
distinct_on - [dipdup_head_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [dipdup_head_order_by!] sort the rows by one or more columns
where - dipdup_head_bool_exp filter the rows returned

Example

Query
query dipdup_head_aggregate($distinct_on: [dipdup_head_select_column!], $limit: Int, $offset: Int, $order_by: [dipdup_head_order_by!], $where: dipdup_head_bool_exp) {
  dipdup_head_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...dipdup_head_aggregate_fieldsFragment
    }
    nodes {
      ...dipdup_headFragment
    }
  }
}
Variables
{
  "distinct_on": [dipdup_head_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [dipdup_head_order_by],
  "where": dipdup_head_bool_exp
}
Response
{
  "data": {
    "dipdup_head_aggregate": {
      "aggregate": dipdup_head_aggregate_fields,
      "nodes": [dipdup_head]
    }
  }
}

dipdup_head_by_pk

fetch data from the table: "dipdup_head" using primary key columns
Returns a dipdup_head

Name Description
name - String!

Example

Query
query dipdup_head_by_pk($name: String!) {
  dipdup_head_by_pk(name: $name) {
    created_at
    hash
    level
    name
    timestamp
    updated_at
  }
}
Variables
{"name": "xyz789"}
Response
{
  "data": {
    "dipdup_head_by_pk": {
      "created_at": timestamptz,
      "hash": "xyz789",
      "level": 987,
      "name": "abc123",
      "timestamp": timestamptz,
      "updated_at": timestamptz
    }
  }
}

dipdup_index

fetch data from the table: "dipdup_index"
Returns [dipdup_index!]!

Name Description
distinct_on - [dipdup_index_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [dipdup_index_order_by!] sort the rows by one or more columns
where - dipdup_index_bool_exp filter the rows returned

Example

Query
query dipdup_index($distinct_on: [dipdup_index_select_column!], $limit: Int, $offset: Int, $order_by: [dipdup_index_order_by!], $where: dipdup_index_bool_exp) {
  dipdup_index(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    config_hash
    created_at
    level
    name
    status
    template
    template_values
    type
    updated_at
  }
}
Variables
{
  "distinct_on": [dipdup_index_select_column],
  "limit": 123,
  "offset": 123,
  "order_by": [dipdup_index_order_by],
  "where": dipdup_index_bool_exp
}
Response
{
  "data": {
    "dipdup_index": [
      {
        "config_hash": "abc123",
        "created_at": timestamptz,
        "level": 987,
        "name": "abc123",
        "status": "xyz789",
        "template": "abc123",
        "template_values": jsonb,
        "type": "xyz789",
        "updated_at": timestamptz
      }
    ]
  }
}

dipdup_index_aggregate

fetch aggregated fields from the table: "dipdup_index"
Returns a dipdup_index_aggregate!

Name Description
distinct_on - [dipdup_index_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [dipdup_index_order_by!] sort the rows by one or more columns
where - dipdup_index_bool_exp filter the rows returned

Example

Query
query dipdup_index_aggregate($distinct_on: [dipdup_index_select_column!], $limit: Int, $offset: Int, $order_by: [dipdup_index_order_by!], $where: dipdup_index_bool_exp) {
  dipdup_index_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...dipdup_index_aggregate_fieldsFragment
    }
    nodes {
      ...dipdup_indexFragment
    }
  }
}
Variables
{
  "distinct_on": [dipdup_index_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [dipdup_index_order_by],
  "where": dipdup_index_bool_exp
}
Response
{
  "data": {
    "dipdup_index_aggregate": {
      "aggregate": dipdup_index_aggregate_fields,
      "nodes": [dipdup_index]
    }
  }
}

dipdup_index_by_pk

fetch data from the table: "dipdup_index" using primary key columns
Returns a dipdup_index

Name Description
name - String!

Example

Query
query dipdup_index_by_pk($name: String!) {
  dipdup_index_by_pk(name: $name) {
    config_hash
    created_at
    level
    name
    status
    template
    template_values
    type
    updated_at
  }
}
Variables
{"name": "abc123"}
Response
{
  "data": {
    "dipdup_index_by_pk": {
      "config_hash": "xyz789",
      "created_at": timestamptz,
      "level": 987,
      "name": "abc123",
      "status": "abc123",
      "template": "abc123",
      "template_values": jsonb,
      "type": "abc123",
      "updated_at": timestamptz
    }
  }
}

dipdup_schema

fetch data from the table: "dipdup_schema"
Returns [dipdup_schema!]!

Name Description
distinct_on - [dipdup_schema_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [dipdup_schema_order_by!] sort the rows by one or more columns
where - dipdup_schema_bool_exp filter the rows returned

Example

Query
query dipdup_schema($distinct_on: [dipdup_schema_select_column!], $limit: Int, $offset: Int, $order_by: [dipdup_schema_order_by!], $where: dipdup_schema_bool_exp) {
  dipdup_schema(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    created_at
    hash
    name
    reindex
    updated_at
  }
}
Variables
{
  "distinct_on": [dipdup_schema_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [dipdup_schema_order_by],
  "where": dipdup_schema_bool_exp
}
Response
{
  "data": {
    "dipdup_schema": [
      {
        "created_at": timestamptz,
        "hash": "xyz789",
        "name": "xyz789",
        "reindex": "abc123",
        "updated_at": timestamptz
      }
    ]
  }
}

dipdup_schema_aggregate

fetch aggregated fields from the table: "dipdup_schema"
Returns a dipdup_schema_aggregate!

Name Description
distinct_on - [dipdup_schema_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [dipdup_schema_order_by!] sort the rows by one or more columns
where - dipdup_schema_bool_exp filter the rows returned

Example

Query
query dipdup_schema_aggregate($distinct_on: [dipdup_schema_select_column!], $limit: Int, $offset: Int, $order_by: [dipdup_schema_order_by!], $where: dipdup_schema_bool_exp) {
  dipdup_schema_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...dipdup_schema_aggregate_fieldsFragment
    }
    nodes {
      ...dipdup_schemaFragment
    }
  }
}
Variables
{
  "distinct_on": [dipdup_schema_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [dipdup_schema_order_by],
  "where": dipdup_schema_bool_exp
}
Response
{
  "data": {
    "dipdup_schema_aggregate": {
      "aggregate": dipdup_schema_aggregate_fields,
      "nodes": [dipdup_schema]
    }
  }
}

dipdup_schema_by_pk

fetch data from the table: "dipdup_schema" using primary key columns
Returns a dipdup_schema

Name Description
name - String!

Example

Query
query dipdup_schema_by_pk($name: String!) {
  dipdup_schema_by_pk(name: $name) {
    created_at
    hash
    name
    reindex
    updated_at
  }
}
Variables
{"name": "abc123"}
Response
{
  "data": {
    "dipdup_schema_by_pk": {
      "created_at": timestamptz,
      "hash": "abc123",
      "name": "abc123",
      "reindex": "abc123",
      "updated_at": timestamptz
    }
  }
}

dutch_auction

fetch data from the table: "dutch_auction"
Returns [dutch_auction!]!

Name Description
distinct_on - [dutch_auction_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [dutch_auction_order_by!] sort the rows by one or more columns
where - dutch_auction_bool_exp filter the rows returned

Example

Query
query dutch_auction($distinct_on: [dutch_auction_select_column!], $limit: Int, $offset: Int, $order_by: [dutch_auction_order_by!], $where: dutch_auction_bool_exp) {
  dutch_auction(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    artist {
      ...walletsFragment
    }
    artist_id
    buy_price
    buyer {
      ...walletsFragment
    }
    buyer_id
    contract_version
    creator {
      ...walletsFragment
    }
    creator_id
    end_price
    end_time
    fa2 {
      ...FA2Fragment
    }
    fa2_id
    hash
    id
    level
    objkt_id
    royalties
    start_price
    start_time
    status
    timestamp
    update_level
    update_timestamp
  }
}
Variables
{
  "distinct_on": [dutch_auction_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [dutch_auction_order_by],
  "where": dutch_auction_bool_exp
}
Response
{
  "data": {
    "dutch_auction": [
      {
        "artist": wallets,
        "artist_id": 987,
        "buy_price": bigint,
        "buyer": wallets,
        "buyer_id": 123,
        "contract_version": smallint,
        "creator": wallets,
        "creator_id": 987,
        "end_price": bigint,
        "end_time": timestamptz,
        "fa2": FA2,
        "fa2_id": "abc123",
        "hash": "abc123",
        "id": bigint,
        "level": bigint,
        "objkt_id": bigint,
        "royalties": bigint,
        "start_price": bigint,
        "start_time": timestamptz,
        "status": "xyz789",
        "timestamp": timestamptz,
        "update_level": bigint,
        "update_timestamp": timestamptz
      }
    ]
  }
}

dutch_auction_aggregate

fetch aggregated fields from the table: "dutch_auction"
Returns a dutch_auction_aggregate!

Name Description
distinct_on - [dutch_auction_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [dutch_auction_order_by!] sort the rows by one or more columns
where - dutch_auction_bool_exp filter the rows returned

Example

Query
query dutch_auction_aggregate($distinct_on: [dutch_auction_select_column!], $limit: Int, $offset: Int, $order_by: [dutch_auction_order_by!], $where: dutch_auction_bool_exp) {
  dutch_auction_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...dutch_auction_aggregate_fieldsFragment
    }
    nodes {
      ...dutch_auctionFragment
    }
  }
}
Variables
{
  "distinct_on": [dutch_auction_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [dutch_auction_order_by],
  "where": dutch_auction_bool_exp
}
Response
{
  "data": {
    "dutch_auction_aggregate": {
      "aggregate": dutch_auction_aggregate_fields,
      "nodes": [dutch_auction]
    }
  }
}

dutch_auction_by_pk

fetch data from the table: "dutch_auction" using primary key columns
Returns a dutch_auction

Name Description
id - bigint!

Example

Query
query dutch_auction_by_pk($id: bigint!) {
  dutch_auction_by_pk(id: $id) {
    artist {
      ...walletsFragment
    }
    artist_id
    buy_price
    buyer {
      ...walletsFragment
    }
    buyer_id
    contract_version
    creator {
      ...walletsFragment
    }
    creator_id
    end_price
    end_time
    fa2 {
      ...FA2Fragment
    }
    fa2_id
    hash
    id
    level
    objkt_id
    royalties
    start_price
    start_time
    status
    timestamp
    update_level
    update_timestamp
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "dutch_auction_by_pk": {
      "artist": wallets,
      "artist_id": 987,
      "buy_price": bigint,
      "buyer": wallets,
      "buyer_id": 987,
      "contract_version": smallint,
      "creator": wallets,
      "creator_id": 987,
      "end_price": bigint,
      "end_time": timestamptz,
      "fa2": FA2,
      "fa2_id": "xyz789",
      "hash": "xyz789",
      "id": bigint,
      "level": bigint,
      "objkt_id": bigint,
      "royalties": bigint,
      "start_price": bigint,
      "start_time": timestamptz,
      "status": "xyz789",
      "timestamp": timestamptz,
      "update_level": bigint,
      "update_timestamp": timestamptz
    }
  }
}

english_auction

fetch data from the table: "english_auction"
Returns [english_auction!]!

Name Description
distinct_on - [english_auction_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [english_auction_order_by!] sort the rows by one or more columns
where - english_auction_bool_exp filter the rows returned

Example

Query
query english_auction($distinct_on: [english_auction_select_column!], $limit: Int, $offset: Int, $order_by: [english_auction_order_by!], $where: english_auction_bool_exp) {
  english_auction(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    artist {
      ...walletsFragment
    }
    artist_id
    bids {
      ...english_bidFragment
    }
    bids_aggregate {
      ...english_bid_aggregateFragment
    }
    contract_version
    creator {
      ...walletsFragment
    }
    creator_id
    end_time
    extension_time
    fa2 {
      ...FA2Fragment
    }
    fa2_id
    hash
    id
    level
    objkt_id
    price_increment
    reserve
    royalties
    start_time
    status
    timestamp
    update_level
    update_timestamp
  }
}
Variables
{
  "distinct_on": [english_auction_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [english_auction_order_by],
  "where": english_auction_bool_exp
}
Response
{
  "data": {
    "english_auction": [
      {
        "artist": wallets,
        "artist_id": 123,
        "bids": [english_bid],
        "bids_aggregate": english_bid_aggregate,
        "contract_version": smallint,
        "creator": wallets,
        "creator_id": 123,
        "end_time": timestamptz,
        "extension_time": bigint,
        "fa2": FA2,
        "fa2_id": "xyz789",
        "hash": "abc123",
        "id": bigint,
        "level": bigint,
        "objkt_id": bigint,
        "price_increment": bigint,
        "reserve": bigint,
        "royalties": bigint,
        "start_time": timestamptz,
        "status": "abc123",
        "timestamp": timestamptz,
        "update_level": bigint,
        "update_timestamp": timestamptz
      }
    ]
  }
}

english_auction_aggregate

fetch aggregated fields from the table: "english_auction"
Returns an english_auction_aggregate!

Name Description
distinct_on - [english_auction_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [english_auction_order_by!] sort the rows by one or more columns
where - english_auction_bool_exp filter the rows returned

Example

Query
query english_auction_aggregate($distinct_on: [english_auction_select_column!], $limit: Int, $offset: Int, $order_by: [english_auction_order_by!], $where: english_auction_bool_exp) {
  english_auction_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...english_auction_aggregate_fieldsFragment
    }
    nodes {
      ...english_auctionFragment
    }
  }
}
Variables
{
  "distinct_on": [english_auction_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [english_auction_order_by],
  "where": english_auction_bool_exp
}
Response
{
  "data": {
    "english_auction_aggregate": {
      "aggregate": english_auction_aggregate_fields,
      "nodes": [english_auction]
    }
  }
}

english_auction_by_pk

fetch data from the table: "english_auction" using primary key columns
Returns an english_auction

Name Description
id - bigint!

Example

Query
query english_auction_by_pk($id: bigint!) {
  english_auction_by_pk(id: $id) {
    artist {
      ...walletsFragment
    }
    artist_id
    bids {
      ...english_bidFragment
    }
    bids_aggregate {
      ...english_bid_aggregateFragment
    }
    contract_version
    creator {
      ...walletsFragment
    }
    creator_id
    end_time
    extension_time
    fa2 {
      ...FA2Fragment
    }
    fa2_id
    hash
    id
    level
    objkt_id
    price_increment
    reserve
    royalties
    start_time
    status
    timestamp
    update_level
    update_timestamp
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "english_auction_by_pk": {
      "artist": wallets,
      "artist_id": 987,
      "bids": [english_bid],
      "bids_aggregate": english_bid_aggregate,
      "contract_version": smallint,
      "creator": wallets,
      "creator_id": 987,
      "end_time": timestamptz,
      "extension_time": bigint,
      "fa2": FA2,
      "fa2_id": "xyz789",
      "hash": "abc123",
      "id": bigint,
      "level": bigint,
      "objkt_id": bigint,
      "price_increment": bigint,
      "reserve": bigint,
      "royalties": bigint,
      "start_time": timestamptz,
      "status": "abc123",
      "timestamp": timestamptz,
      "update_level": bigint,
      "update_timestamp": timestamptz
    }
  }
}

english_bid

fetch data from the table: "english_bid"
Returns [english_bid!]!

Name Description
distinct_on - [english_bid_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [english_bid_order_by!] sort the rows by one or more columns
where - english_bid_bool_exp filter the rows returned

Example

Query
query english_bid($distinct_on: [english_bid_select_column!], $limit: Int, $offset: Int, $order_by: [english_bid_order_by!], $where: english_bid_bool_exp) {
  english_bid(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    amount
    auction {
      ...english_auctionFragment
    }
    auction_id
    bidder {
      ...walletsFragment
    }
    bidder_id
    id
    level
    timestamp
  }
}
Variables
{
  "distinct_on": [english_bid_select_column],
  "limit": 987,
  "offset": 123,
  "order_by": [english_bid_order_by],
  "where": english_bid_bool_exp
}
Response
{
  "data": {
    "english_bid": [
      {
        "amount": bigint,
        "auction": english_auction,
        "auction_id": bigint,
        "bidder": wallets,
        "bidder_id": 123,
        "id": bigint,
        "level": bigint,
        "timestamp": timestamptz
      }
    ]
  }
}

english_bid_aggregate

fetch aggregated fields from the table: "english_bid"
Returns an english_bid_aggregate!

Name Description
distinct_on - [english_bid_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [english_bid_order_by!] sort the rows by one or more columns
where - english_bid_bool_exp filter the rows returned

Example

Query
query english_bid_aggregate($distinct_on: [english_bid_select_column!], $limit: Int, $offset: Int, $order_by: [english_bid_order_by!], $where: english_bid_bool_exp) {
  english_bid_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...english_bid_aggregate_fieldsFragment
    }
    nodes {
      ...english_bidFragment
    }
  }
}
Variables
{
  "distinct_on": [english_bid_select_column],
  "limit": 987,
  "offset": 123,
  "order_by": [english_bid_order_by],
  "where": english_bid_bool_exp
}
Response
{
  "data": {
    "english_bid_aggregate": {
      "aggregate": english_bid_aggregate_fields,
      "nodes": [english_bid]
    }
  }
}

english_bid_by_pk

fetch data from the table: "english_bid" using primary key columns
Returns an english_bid

Name Description
id - bigint!

Example

Query
query english_bid_by_pk($id: bigint!) {
  english_bid_by_pk(id: $id) {
    amount
    auction {
      ...english_auctionFragment
    }
    auction_id
    bidder {
      ...walletsFragment
    }
    bidder_id
    id
    level
    timestamp
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "english_bid_by_pk": {
      "amount": bigint,
      "auction": english_auction,
      "auction_id": bigint,
      "bidder": wallets,
      "bidder_id": 123,
      "id": bigint,
      "level": bigint,
      "timestamp": timestamptz
    }
  }
}

FA2

fetch data from the table: "FA2"
Returns [FA2!]!

Name Description
distinct_on - [FA2_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [FA2_order_by!] sort the rows by one or more columns
where - FA2_bool_exp filter the rows returned

Example

Query
query FA2($distinct_on: [FA2_select_column!], $limit: Int, $offset: Int, $order_by: [FA2_order_by!], $where: FA2_bool_exp) {
  FA2(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    asks {
      ...askFragment
    }
    asks_aggregate {
      ...ask_aggregateFragment
    }
    bids {
      ...bidFragment
    }
    bids_aggregate {
      ...bid_aggregateFragment
    }
    contract
    dutch_auctions {
      ...dutch_auctionFragment
    }
    dutch_auctions_aggregate {
      ...dutch_auction_aggregateFragment
    }
    english_auctions {
      ...english_auctionFragment
    }
    english_auctions_aggregate {
      ...english_auction_aggregateFragment
    }
  }
}
Variables
{
  "distinct_on": [FA2_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [FA2_order_by],
  "where": FA2_bool_exp
}
Response
{
  "data": {
    "FA2": [
      {
        "asks": [ask],
        "asks_aggregate": ask_aggregate,
        "bids": [bid],
        "bids_aggregate": bid_aggregate,
        "contract": "abc123",
        "dutch_auctions": [dutch_auction],
        "dutch_auctions_aggregate": dutch_auction_aggregate,
        "english_auctions": [english_auction],
        "english_auctions_aggregate": english_auction_aggregate
      }
    ]
  }
}

fa2__aggregate

fetch aggregated fields from the table: "FA2"
Returns a FA2_aggregate!

Name Description
distinct_on - [FA2_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [FA2_order_by!] sort the rows by one or more columns
where - FA2_bool_exp filter the rows returned

Example

Query
query fa2__aggregate($distinct_on: [FA2_select_column!], $limit: Int, $offset: Int, $order_by: [FA2_order_by!], $where: FA2_bool_exp) {
  fa2__aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...FA2_aggregate_fieldsFragment
    }
    nodes {
      ...FA2Fragment
    }
  }
}
Variables
{
  "distinct_on": [FA2_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [FA2_order_by],
  "where": FA2_bool_exp
}
Response
{
  "data": {
    "fa2__aggregate": {
      "aggregate": FA2_aggregate_fields,
      "nodes": [FA2]
    }
  }
}

fa2__by_pk

fetch data from the table: "FA2" using primary key columns
Returns a FA2

Name Description
contract - String!

Example

Query
query fa2__by_pk($contract: String!) {
  fa2__by_pk(contract: $contract) {
    asks {
      ...askFragment
    }
    asks_aggregate {
      ...ask_aggregateFragment
    }
    bids {
      ...bidFragment
    }
    bids_aggregate {
      ...bid_aggregateFragment
    }
    contract
    dutch_auctions {
      ...dutch_auctionFragment
    }
    dutch_auctions_aggregate {
      ...dutch_auction_aggregateFragment
    }
    english_auctions {
      ...english_auctionFragment
    }
    english_auctions_aggregate {
      ...english_auction_aggregateFragment
    }
  }
}
Variables
{"contract": "abc123"}
Response
{
  "data": {
    "fa2__by_pk": {
      "asks": [ask],
      "asks_aggregate": ask_aggregate,
      "bids": [bid],
      "bids_aggregate": bid_aggregate,
      "contract": "abc123",
      "dutch_auctions": [dutch_auction],
      "dutch_auctions_aggregate": dutch_auction_aggregate,
      "english_auctions": [english_auction],
      "english_auctions_aggregate": english_auction_aggregate
    }
  }
}

fulfilled_ask

fetch data from the table: "fulfilled_ask"
Returns [fulfilled_ask!]!

Name Description
distinct_on - [fulfilled_ask_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [fulfilled_ask_order_by!] sort the rows by one or more columns
where - fulfilled_ask_bool_exp filter the rows returned

Example

Query
query fulfilled_ask($distinct_on: [fulfilled_ask_select_column!], $limit: Int, $offset: Int, $order_by: [fulfilled_ask_order_by!], $where: fulfilled_ask_bool_exp) {
  fulfilled_ask(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    amount
    ask {
      ...askFragment
    }
    ask_id
    buyer {
      ...walletsFragment
    }
    buyer_id
    id
    level
    objkt_id
    seller {
      ...walletsFragment
    }
    seller_id
    timestamp
  }
}
Variables
{
  "distinct_on": [fulfilled_ask_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [fulfilled_ask_order_by],
  "where": fulfilled_ask_bool_exp
}
Response
{
  "data": {
    "fulfilled_ask": [
      {
        "amount": bigint,
        "ask": ask,
        "ask_id": bigint,
        "buyer": wallets,
        "buyer_id": 123,
        "id": bigint,
        "level": bigint,
        "objkt_id": bigint,
        "seller": wallets,
        "seller_id": 123,
        "timestamp": timestamptz
      }
    ]
  }
}

fulfilled_ask_aggregate

fetch aggregated fields from the table: "fulfilled_ask"
Returns a fulfilled_ask_aggregate!

Name Description
distinct_on - [fulfilled_ask_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [fulfilled_ask_order_by!] sort the rows by one or more columns
where - fulfilled_ask_bool_exp filter the rows returned

Example

Query
query fulfilled_ask_aggregate($distinct_on: [fulfilled_ask_select_column!], $limit: Int, $offset: Int, $order_by: [fulfilled_ask_order_by!], $where: fulfilled_ask_bool_exp) {
  fulfilled_ask_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...fulfilled_ask_aggregate_fieldsFragment
    }
    nodes {
      ...fulfilled_askFragment
    }
  }
}
Variables
{
  "distinct_on": [fulfilled_ask_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [fulfilled_ask_order_by],
  "where": fulfilled_ask_bool_exp
}
Response
{
  "data": {
    "fulfilled_ask_aggregate": {
      "aggregate": fulfilled_ask_aggregate_fields,
      "nodes": [fulfilled_ask]
    }
  }
}

fulfilled_ask_by_pk

fetch data from the table: "fulfilled_ask" using primary key columns
Returns a fulfilled_ask

Name Description
id - bigint!

Example

Query
query fulfilled_ask_by_pk($id: bigint!) {
  fulfilled_ask_by_pk(id: $id) {
    amount
    ask {
      ...askFragment
    }
    ask_id
    buyer {
      ...walletsFragment
    }
    buyer_id
    id
    level
    objkt_id
    seller {
      ...walletsFragment
    }
    seller_id
    timestamp
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "fulfilled_ask_by_pk": {
      "amount": bigint,
      "ask": ask,
      "ask_id": bigint,
      "buyer": wallets,
      "buyer_id": 123,
      "id": bigint,
      "level": bigint,
      "objkt_id": bigint,
      "seller": wallets,
      "seller_id": 987,
      "timestamp": timestamptz
    }
  }
}

listings

fetch data from the table: "listings"
Returns [listings!]!

Name Description
distinct_on - [listings_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [listings_order_by!] sort the rows by one or more columns
where - listings_bool_exp filter the rows returned

Example

Query
query listings($distinct_on: [listings_select_column!], $limit: Int, $offset: Int, $order_by: [listings_order_by!], $where: listings_bool_exp) {
  listings(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    _token_id
    id
    listing_id
    market_place
    market_place_contract
    price
    quantity
    seller {
      ...walletsFragment
    }
    seller_id
    status
    token {
      ...tokensFragment
    }
    token_id
    trade {
      ...tradesFragment
    }
    trade_aggregate {
      ...trades_aggregateFragment
    }
  }
}
Variables
{
  "distinct_on": [listings_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [listings_order_by],
  "where": listings_bool_exp
}
Response
{
  "data": {
    "listings": [
      {
        "_token_id": "xyz789",
        "id": 123,
        "listing_id": "abc123",
        "market_place": "abc123",
        "market_place_contract": "xyz789",
        "price": bigint,
        "quantity": bigint,
        "seller": wallets,
        "seller_id": 123,
        "status": "abc123",
        "token": tokens,
        "token_id": 987,
        "trade": [trades],
        "trade_aggregate": trades_aggregate
      }
    ]
  }
}

listings_aggregate

fetch aggregated fields from the table: "listings"
Returns a listings_aggregate!

Name Description
distinct_on - [listings_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [listings_order_by!] sort the rows by one or more columns
where - listings_bool_exp filter the rows returned

Example

Query
query listings_aggregate($distinct_on: [listings_select_column!], $limit: Int, $offset: Int, $order_by: [listings_order_by!], $where: listings_bool_exp) {
  listings_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...listings_aggregate_fieldsFragment
    }
    nodes {
      ...listingsFragment
    }
  }
}
Variables
{
  "distinct_on": [listings_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [listings_order_by],
  "where": listings_bool_exp
}
Response
{
  "data": {
    "listings_aggregate": {
      "aggregate": listings_aggregate_fields,
      "nodes": [listings]
    }
  }
}

listings_by_pk

fetch data from the table: "listings" using primary key columns
Returns a listings

Name Description
id - Int!

Example

Query
query listings_by_pk($id: Int!) {
  listings_by_pk(id: $id) {
    _token_id
    id
    listing_id
    market_place
    market_place_contract
    price
    quantity
    seller {
      ...walletsFragment
    }
    seller_id
    status
    token {
      ...tokensFragment
    }
    token_id
    trade {
      ...tradesFragment
    }
    trade_aggregate {
      ...trades_aggregateFragment
    }
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "listings_by_pk": {
      "_token_id": "xyz789",
      "id": 987,
      "listing_id": "abc123",
      "market_place": "abc123",
      "market_place_contract": "xyz789",
      "price": bigint,
      "quantity": bigint,
      "seller": wallets,
      "seller_id": 123,
      "status": "xyz789",
      "token": tokens,
      "token_id": 987,
      "trade": [trades],
      "trade_aggregate": trades_aggregate
    }
  }
}

minter_contracts

fetch data from the table: "minter_contracts"
Returns [minter_contracts!]!

Name Description
distinct_on - [minter_contracts_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [minter_contracts_order_by!] sort the rows by one or more columns
where - minter_contracts_bool_exp filter the rows returned

Example

Query
query minter_contracts($distinct_on: [minter_contracts_select_column!], $limit: Int, $offset: Int, $order_by: [minter_contracts_order_by!], $where: minter_contracts_bool_exp) {
  minter_contracts(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    id
    market_places
    minter_contract
  }
}
Variables
{
  "distinct_on": [minter_contracts_select_column],
  "limit": 123,
  "offset": 123,
  "order_by": [minter_contracts_order_by],
  "where": minter_contracts_bool_exp
}
Response
{
  "data": {
    "minter_contracts": [
      {"id": 987, "market_places": "xyz789", "minter_contract": "abc123"}
    ]
  }
}

minter_contracts_aggregate

fetch aggregated fields from the table: "minter_contracts"
Returns a minter_contracts_aggregate!

Name Description
distinct_on - [minter_contracts_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [minter_contracts_order_by!] sort the rows by one or more columns
where - minter_contracts_bool_exp filter the rows returned

Example

Query
query minter_contracts_aggregate($distinct_on: [minter_contracts_select_column!], $limit: Int, $offset: Int, $order_by: [minter_contracts_order_by!], $where: minter_contracts_bool_exp) {
  minter_contracts_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...minter_contracts_aggregate_fieldsFragment
    }
    nodes {
      ...minter_contractsFragment
    }
  }
}
Variables
{
  "distinct_on": [minter_contracts_select_column],
  "limit": 123,
  "offset": 123,
  "order_by": [minter_contracts_order_by],
  "where": minter_contracts_bool_exp
}
Response
{
  "data": {
    "minter_contracts_aggregate": {
      "aggregate": minter_contracts_aggregate_fields,
      "nodes": [minter_contracts]
    }
  }
}

minter_contracts_by_pk

fetch data from the table: "minter_contracts" using primary key columns
Returns a minter_contracts

Name Description
id - Int!

Example

Query
query minter_contracts_by_pk($id: Int!) {
  minter_contracts_by_pk(id: $id) {
    id
    market_places
    minter_contract
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "minter_contracts_by_pk": {
      "id": 987,
      "market_places": "xyz789",
      "minter_contract": "xyz789"
    }
  }
}

shareholder

An array relationship
Returns [shareholder!]!

Name Description
distinct_on - [shareholder_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [shareholder_order_by!] sort the rows by one or more columns
where - shareholder_bool_exp filter the rows returned

Example

Query
query shareholder($distinct_on: [shareholder_select_column!], $limit: Int, $offset: Int, $order_by: [shareholder_order_by!], $where: shareholder_bool_exp) {
  shareholder(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    holder {
      ...walletsFragment
    }
    holder_id
    holder_type
    id
    shares
    split_contract {
      ...split_contractFragment
    }
    split_contract_id
  }
}
Variables
{
  "distinct_on": [shareholder_select_column],
  "limit": 123,
  "offset": 123,
  "order_by": [shareholder_order_by],
  "where": shareholder_bool_exp
}
Response
{
  "data": {
    "shareholder": [
      {
        "holder": wallets,
        "holder_id": 987,
        "holder_type": "xyz789",
        "id": 123,
        "shares": bigint,
        "split_contract": split_contract,
        "split_contract_id": 123
      }
    ]
  }
}

shareholder_aggregate

An aggregate relationship
Returns a shareholder_aggregate!

Name Description
distinct_on - [shareholder_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [shareholder_order_by!] sort the rows by one or more columns
where - shareholder_bool_exp filter the rows returned

Example

Query
query shareholder_aggregate($distinct_on: [shareholder_select_column!], $limit: Int, $offset: Int, $order_by: [shareholder_order_by!], $where: shareholder_bool_exp) {
  shareholder_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...shareholder_aggregate_fieldsFragment
    }
    nodes {
      ...shareholderFragment
    }
  }
}
Variables
{
  "distinct_on": [shareholder_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [shareholder_order_by],
  "where": shareholder_bool_exp
}
Response
{
  "data": {
    "shareholder_aggregate": {
      "aggregate": shareholder_aggregate_fields,
      "nodes": [shareholder]
    }
  }
}

shareholder_by_pk

fetch data from the table: "shareholder" using primary key columns
Returns a shareholder

Name Description
id - Int!

Example

Query
query shareholder_by_pk($id: Int!) {
  shareholder_by_pk(id: $id) {
    holder {
      ...walletsFragment
    }
    holder_id
    holder_type
    id
    shares
    split_contract {
      ...split_contractFragment
    }
    split_contract_id
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "shareholder_by_pk": {
      "holder": wallets,
      "holder_id": 123,
      "holder_type": "xyz789",
      "id": 987,
      "shares": bigint,
      "split_contract": split_contract,
      "split_contract_id": 123
    }
  }
}

split_contract

fetch data from the table: "split_contract"
Returns [split_contract!]!

Name Description
distinct_on - [split_contract_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [split_contract_order_by!] sort the rows by one or more columns
where - split_contract_bool_exp filter the rows returned

Example

Query
query split_contract($distinct_on: [split_contract_select_column!], $limit: Int, $offset: Int, $order_by: [split_contract_order_by!], $where: split_contract_bool_exp) {
  split_contract(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    administrator
    contract {
      ...walletsFragment
    }
    contract_id
    id
    shareholder {
      ...shareholderFragment
    }
    shareholder_aggregate {
      ...shareholder_aggregateFragment
    }
    total_shares
  }
}
Variables
{
  "distinct_on": [split_contract_select_column],
  "limit": 987,
  "offset": 123,
  "order_by": [split_contract_order_by],
  "where": split_contract_bool_exp
}
Response
{
  "data": {
    "split_contract": [
      {
        "administrator": "xyz789",
        "contract": wallets,
        "contract_id": 123,
        "id": 987,
        "shareholder": [shareholder],
        "shareholder_aggregate": shareholder_aggregate,
        "total_shares": bigint
      }
    ]
  }
}

split_contract_aggregate

fetch aggregated fields from the table: "split_contract"
Returns a split_contract_aggregate!

Name Description
distinct_on - [split_contract_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [split_contract_order_by!] sort the rows by one or more columns
where - split_contract_bool_exp filter the rows returned

Example

Query
query split_contract_aggregate($distinct_on: [split_contract_select_column!], $limit: Int, $offset: Int, $order_by: [split_contract_order_by!], $where: split_contract_bool_exp) {
  split_contract_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...split_contract_aggregate_fieldsFragment
    }
    nodes {
      ...split_contractFragment
    }
  }
}
Variables
{
  "distinct_on": [split_contract_select_column],
  "limit": 123,
  "offset": 123,
  "order_by": [split_contract_order_by],
  "where": split_contract_bool_exp
}
Response
{
  "data": {
    "split_contract_aggregate": {
      "aggregate": split_contract_aggregate_fields,
      "nodes": [split_contract]
    }
  }
}

split_contract_by_pk

fetch data from the table: "split_contract" using primary key columns
Returns a split_contract

Name Description
id - Int!

Example

Query
query split_contract_by_pk($id: Int!) {
  split_contract_by_pk(id: $id) {
    administrator
    contract {
      ...walletsFragment
    }
    contract_id
    id
    shareholder {
      ...shareholderFragment
    }
    shareholder_aggregate {
      ...shareholder_aggregateFragment
    }
    total_shares
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "split_contract_by_pk": {
      "administrator": "abc123",
      "contract": wallets,
      "contract_id": 123,
      "id": 987,
      "shareholder": [shareholder],
      "shareholder_aggregate": shareholder_aggregate,
      "total_shares": bigint
    }
  }
}

split_signatures

fetch data from the table: "split_signatures"
Returns [split_signatures!]!

Name Description
distinct_on - [split_signatures_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [split_signatures_order_by!] sort the rows by one or more columns
where - split_signatures_bool_exp filter the rows returned

Example

Query
query split_signatures($distinct_on: [split_signatures_select_column!], $limit: Int, $offset: Int, $order_by: [split_signatures_order_by!], $where: split_signatures_bool_exp) {
  split_signatures(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    holder {
      ...walletsFragment
    }
    holder_id
    id
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{
  "distinct_on": [split_signatures_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [split_signatures_order_by],
  "where": split_signatures_bool_exp
}
Response
{
  "data": {
    "split_signatures": [
      {
        "holder": wallets,
        "holder_id": 123,
        "id": 987,
        "token": tokens,
        "token_id": 987
      }
    ]
  }
}

split_signatures_aggregate

fetch aggregated fields from the table: "split_signatures"
Returns a split_signatures_aggregate!

Name Description
distinct_on - [split_signatures_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [split_signatures_order_by!] sort the rows by one or more columns
where - split_signatures_bool_exp filter the rows returned

Example

Query
query split_signatures_aggregate($distinct_on: [split_signatures_select_column!], $limit: Int, $offset: Int, $order_by: [split_signatures_order_by!], $where: split_signatures_bool_exp) {
  split_signatures_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...split_signatures_aggregate_fieldsFragment
    }
    nodes {
      ...split_signaturesFragment
    }
  }
}
Variables
{
  "distinct_on": [split_signatures_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [split_signatures_order_by],
  "where": split_signatures_bool_exp
}
Response
{
  "data": {
    "split_signatures_aggregate": {
      "aggregate": split_signatures_aggregate_fields,
      "nodes": [split_signatures]
    }
  }
}

split_signatures_by_pk

fetch data from the table: "split_signatures" using primary key columns
Returns a split_signatures

Name Description
id - Int!

Example

Query
query split_signatures_by_pk($id: Int!) {
  split_signatures_by_pk(id: $id) {
    holder {
      ...walletsFragment
    }
    holder_id
    id
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "split_signatures_by_pk": {
      "holder": wallets,
      "holder_id": 123,
      "id": 123,
      "token": tokens,
      "token_id": 123
    }
  }
}

swap

fetch data from the table: "swap"
Returns [swap!]!

Name Description
distinct_on - [swap_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [swap_order_by!] sort the rows by one or more columns
where - swap_bool_exp filter the rows returned

Example

Query
query swap($distinct_on: [swap_select_column!], $limit: Int, $offset: Int, $order_by: [swap_order_by!], $where: swap_bool_exp) {
  swap(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    amount
    amount_left
    contract_version
    creator {
      ...walletsFragment
    }
    creator_id
    id
    is_valid
    level
    ophash
    price
    royalties
    status
    timestamp
    token {
      ...tokensFragment
    }
    token_id
    trade {
      ...tradeFragment
    }
    trade_aggregate {
      ...trade_aggregateFragment
    }
  }
}
Variables
{
  "distinct_on": [swap_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [swap_order_by],
  "where": swap_bool_exp
}
Response
{
  "data": {
    "swap": [
      {
        "amount": smallint,
        "amount_left": smallint,
        "contract_version": smallint,
        "creator": wallets,
        "creator_id": 123,
        "id": bigint,
        "is_valid": false,
        "level": bigint,
        "ophash": "xyz789",
        "price": bigint,
        "royalties": smallint,
        "status": smallint,
        "timestamp": timestamptz,
        "token": tokens,
        "token_id": 123,
        "trade": [trade],
        "trade_aggregate": trade_aggregate
      }
    ]
  }
}

swap_aggregate

fetch aggregated fields from the table: "swap"
Returns a swap_aggregate!

Name Description
distinct_on - [swap_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [swap_order_by!] sort the rows by one or more columns
where - swap_bool_exp filter the rows returned

Example

Query
query swap_aggregate($distinct_on: [swap_select_column!], $limit: Int, $offset: Int, $order_by: [swap_order_by!], $where: swap_bool_exp) {
  swap_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...swap_aggregate_fieldsFragment
    }
    nodes {
      ...swapFragment
    }
  }
}
Variables
{
  "distinct_on": [swap_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [swap_order_by],
  "where": swap_bool_exp
}
Response
{
  "data": {
    "swap_aggregate": {
      "aggregate": swap_aggregate_fields,
      "nodes": [swap]
    }
  }
}

swap_by_pk

fetch data from the table: "swap" using primary key columns
Returns a swap

Name Description
id - bigint!

Example

Query
query swap_by_pk($id: bigint!) {
  swap_by_pk(id: $id) {
    amount
    amount_left
    contract_version
    creator {
      ...walletsFragment
    }
    creator_id
    id
    is_valid
    level
    ophash
    price
    royalties
    status
    timestamp
    token {
      ...tokensFragment
    }
    token_id
    trade {
      ...tradeFragment
    }
    trade_aggregate {
      ...trade_aggregateFragment
    }
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "swap_by_pk": {
      "amount": smallint,
      "amount_left": smallint,
      "contract_version": smallint,
      "creator": wallets,
      "creator_id": 123,
      "id": bigint,
      "is_valid": true,
      "level": bigint,
      "ophash": "xyz789",
      "price": bigint,
      "royalties": smallint,
      "status": smallint,
      "timestamp": timestamptz,
      "token": tokens,
      "token_id": 987,
      "trade": [trade],
      "trade_aggregate": trade_aggregate
    }
  }
}

tags

fetch data from the table: "tags"
Returns [tags!]!

Name Description
distinct_on - [tags_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tags_order_by!] sort the rows by one or more columns
where - tags_bool_exp filter the rows returned

Example

Query
query tags($distinct_on: [tags_select_column!], $limit: Int, $offset: Int, $order_by: [tags_order_by!], $where: tags_bool_exp) {
  tags(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    id
    tag
    tag_tokens {
      ...token_tagFragment
    }
    tag_tokens_aggregate {
      ...token_tag_aggregateFragment
    }
  }
}
Variables
{
  "distinct_on": [tags_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [tags_order_by],
  "where": tags_bool_exp
}
Response
{
  "data": {
    "tags": [
      {
        "id": bigint,
        "tag": "xyz789",
        "tag_tokens": [token_tag],
        "tag_tokens_aggregate": token_tag_aggregate
      }
    ]
  }
}

tags_aggregate

fetch aggregated fields from the table: "tags"
Returns a tags_aggregate!

Name Description
distinct_on - [tags_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tags_order_by!] sort the rows by one or more columns
where - tags_bool_exp filter the rows returned

Example

Query
query tags_aggregate($distinct_on: [tags_select_column!], $limit: Int, $offset: Int, $order_by: [tags_order_by!], $where: tags_bool_exp) {
  tags_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...tags_aggregate_fieldsFragment
    }
    nodes {
      ...tagsFragment
    }
  }
}
Variables
{
  "distinct_on": [tags_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [tags_order_by],
  "where": tags_bool_exp
}
Response
{
  "data": {
    "tags_aggregate": {
      "aggregate": tags_aggregate_fields,
      "nodes": [tags]
    }
  }
}

tags_by_pk

fetch data from the table: "tags" using primary key columns
Returns a tags

Name Description
id - bigint!

Example

Query
query tags_by_pk($id: bigint!) {
  tags_by_pk(id: $id) {
    id
    tag
    tag_tokens {
      ...token_tagFragment
    }
    tag_tokens_aggregate {
      ...token_tag_aggregateFragment
    }
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "tags_by_pk": {
      "id": bigint,
      "tag": "abc123",
      "tag_tokens": [token_tag],
      "tag_tokens_aggregate": token_tag_aggregate
    }
  }
}

token_balances

An array relationship
Returns [token_balances!]!

Name Description
distinct_on - [token_balances_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [token_balances_order_by!] sort the rows by one or more columns
where - token_balances_bool_exp filter the rows returned

Example

Query
query token_balances($distinct_on: [token_balances_select_column!], $limit: Int, $offset: Int, $order_by: [token_balances_order_by!], $where: token_balances_bool_exp) {
  token_balances(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    _token_id
    collection_id
    holder {
      ...walletsFragment
    }
    holder_id
    id
    minter_contract
    quantity
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{
  "distinct_on": [token_balances_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [token_balances_order_by],
  "where": token_balances_bool_exp
}
Response
{
  "data": {
    "token_balances": [
      {
        "_token_id": "xyz789",
        "collection_id": "xyz789",
        "holder": wallets,
        "holder_id": 123,
        "id": 987,
        "minter_contract": "abc123",
        "quantity": bigint,
        "token": tokens,
        "token_id": 123
      }
    ]
  }
}

token_balances_aggregate

An aggregate relationship
Returns a token_balances_aggregate!

Name Description
distinct_on - [token_balances_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [token_balances_order_by!] sort the rows by one or more columns
where - token_balances_bool_exp filter the rows returned

Example

Query
query token_balances_aggregate($distinct_on: [token_balances_select_column!], $limit: Int, $offset: Int, $order_by: [token_balances_order_by!], $where: token_balances_bool_exp) {
  token_balances_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...token_balances_aggregate_fieldsFragment
    }
    nodes {
      ...token_balancesFragment
    }
  }
}
Variables
{
  "distinct_on": [token_balances_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [token_balances_order_by],
  "where": token_balances_bool_exp
}
Response
{
  "data": {
    "token_balances_aggregate": {
      "aggregate": token_balances_aggregate_fields,
      "nodes": [token_balances]
    }
  }
}

token_balances_by_pk

fetch data from the table: "token_balances" using primary key columns
Returns a token_balances

Name Description
id - Int!

Example

Query
query token_balances_by_pk($id: Int!) {
  token_balances_by_pk(id: $id) {
    _token_id
    collection_id
    holder {
      ...walletsFragment
    }
    holder_id
    id
    minter_contract
    quantity
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "token_balances_by_pk": {
      "_token_id": "abc123",
      "collection_id": "xyz789",
      "holder": wallets,
      "holder_id": 987,
      "id": 123,
      "minter_contract": "abc123",
      "quantity": bigint,
      "token": tokens,
      "token_id": 123
    }
  }
}

token_holder

fetch data from the table: "token_holder"
Returns [token_holder!]!

Name Description
distinct_on - [token_holder_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [token_holder_order_by!] sort the rows by one or more columns
where - token_holder_bool_exp filter the rows returned

Example

Query
query token_holder($distinct_on: [token_holder_select_column!], $limit: Int, $offset: Int, $order_by: [token_holder_order_by!], $where: token_holder_bool_exp) {
  token_holder(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    holder {
      ...walletsFragment
    }
    holder_id
    id
    quantity
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{
  "distinct_on": [token_holder_select_column],
  "limit": 987,
  "offset": 123,
  "order_by": [token_holder_order_by],
  "where": token_holder_bool_exp
}
Response
{
  "data": {
    "token_holder": [
      {
        "holder": wallets,
        "holder_id": 123,
        "id": 123,
        "quantity": bigint,
        "token": tokens,
        "token_id": 987
      }
    ]
  }
}

token_holder_aggregate

fetch aggregated fields from the table: "token_holder"
Returns a token_holder_aggregate!

Name Description
distinct_on - [token_holder_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [token_holder_order_by!] sort the rows by one or more columns
where - token_holder_bool_exp filter the rows returned

Example

Query
query token_holder_aggregate($distinct_on: [token_holder_select_column!], $limit: Int, $offset: Int, $order_by: [token_holder_order_by!], $where: token_holder_bool_exp) {
  token_holder_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...token_holder_aggregate_fieldsFragment
    }
    nodes {
      ...token_holderFragment
    }
  }
}
Variables
{
  "distinct_on": [token_holder_select_column],
  "limit": 123,
  "offset": 123,
  "order_by": [token_holder_order_by],
  "where": token_holder_bool_exp
}
Response
{
  "data": {
    "token_holder_aggregate": {
      "aggregate": token_holder_aggregate_fields,
      "nodes": [token_holder]
    }
  }
}

token_holder_by_pk

fetch data from the table: "token_holder" using primary key columns
Returns a token_holder

Name Description
id - Int!

Example

Query
query token_holder_by_pk($id: Int!) {
  token_holder_by_pk(id: $id) {
    holder {
      ...walletsFragment
    }
    holder_id
    id
    quantity
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "token_holder_by_pk": {
      "holder": wallets,
      "holder_id": 987,
      "id": 123,
      "quantity": bigint,
      "token": tokens,
      "token_id": 123
    }
  }
}

token_metadatas

fetch data from the table: "token_metadatas"
Returns [token_metadatas!]!

Name Description
distinct_on - [token_metadatas_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [token_metadatas_order_by!] sort the rows by one or more columns
where - token_metadatas_bool_exp filter the rows returned

Example

Query
query token_metadatas($distinct_on: [token_metadatas_select_column!], $limit: Int, $offset: Int, $order_by: [token_metadatas_order_by!], $where: token_metadatas_bool_exp) {
  token_metadatas(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    artifact_uri
    asset_hash
    description
    display_uri
    extra
    json_dump
    metadata_uri
    mime_type
    status
    thumbnail_uri
    title
    tokens {
      ...tokensFragment
    }
    tokens_aggregate {
      ...tokens_aggregateFragment
    }
  }
}
Variables
{
  "distinct_on": [token_metadatas_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [token_metadatas_order_by],
  "where": token_metadatas_bool_exp
}
Response
{
  "data": {
    "token_metadatas": [
      {
        "artifact_uri": "abc123",
        "asset_hash": "abc123",
        "description": "abc123",
        "display_uri": "xyz789",
        "extra": jsonb,
        "json_dump": "abc123",
        "metadata_uri": "xyz789",
        "mime_type": "xyz789",
        "status": "xyz789",
        "thumbnail_uri": "abc123",
        "title": "abc123",
        "tokens": [tokens],
        "tokens_aggregate": tokens_aggregate
      }
    ]
  }
}

token_metadatas_aggregate

fetch aggregated fields from the table: "token_metadatas"
Returns a token_metadatas_aggregate!

Name Description
distinct_on - [token_metadatas_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [token_metadatas_order_by!] sort the rows by one or more columns
where - token_metadatas_bool_exp filter the rows returned

Example

Query
query token_metadatas_aggregate($distinct_on: [token_metadatas_select_column!], $limit: Int, $offset: Int, $order_by: [token_metadatas_order_by!], $where: token_metadatas_bool_exp) {
  token_metadatas_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...token_metadatas_aggregate_fieldsFragment
    }
    nodes {
      ...token_metadatasFragment
    }
  }
}
Variables
{
  "distinct_on": [token_metadatas_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [token_metadatas_order_by],
  "where": token_metadatas_bool_exp
}
Response
{
  "data": {
    "token_metadatas_aggregate": {
      "aggregate": token_metadatas_aggregate_fields,
      "nodes": [token_metadatas]
    }
  }
}

token_metadatas_by_pk

fetch data from the table: "token_metadatas" using primary key columns
Returns a token_metadatas

Name Description
metadata_uri - String!

Example

Query
query token_metadatas_by_pk($metadata_uri: String!) {
  token_metadatas_by_pk(metadata_uri: $metadata_uri) {
    artifact_uri
    asset_hash
    description
    display_uri
    extra
    json_dump
    metadata_uri
    mime_type
    status
    thumbnail_uri
    title
    tokens {
      ...tokensFragment
    }
    tokens_aggregate {
      ...tokens_aggregateFragment
    }
  }
}
Variables
{"metadata_uri": "xyz789"}
Response
{
  "data": {
    "token_metadatas_by_pk": {
      "artifact_uri": "abc123",
      "asset_hash": "abc123",
      "description": "xyz789",
      "display_uri": "abc123",
      "extra": jsonb,
      "json_dump": "abc123",
      "metadata_uri": "abc123",
      "mime_type": "xyz789",
      "status": "xyz789",
      "thumbnail_uri": "xyz789",
      "title": "abc123",
      "tokens": [tokens],
      "tokens_aggregate": tokens_aggregate
    }
  }
}

token_operator

fetch data from the table: "token_operator"
Returns [token_operator!]!

Name Description
distinct_on - [token_operator_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [token_operator_order_by!] sort the rows by one or more columns
where - token_operator_bool_exp filter the rows returned

Example

Query
query token_operator($distinct_on: [token_operator_select_column!], $limit: Int, $offset: Int, $order_by: [token_operator_order_by!], $where: token_operator_bool_exp) {
  token_operator(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    id
    level
    operator
    owner {
      ...walletsFragment
    }
    owner_id
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{
  "distinct_on": [token_operator_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [token_operator_order_by],
  "where": token_operator_bool_exp
}
Response
{
  "data": {
    "token_operator": [
      {
        "id": 987,
        "level": bigint,
        "operator": "abc123",
        "owner": wallets,
        "owner_id": 123,
        "token": tokens,
        "token_id": 123
      }
    ]
  }
}

token_operator_aggregate

fetch aggregated fields from the table: "token_operator"
Returns a token_operator_aggregate!

Name Description
distinct_on - [token_operator_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [token_operator_order_by!] sort the rows by one or more columns
where - token_operator_bool_exp filter the rows returned

Example

Query
query token_operator_aggregate($distinct_on: [token_operator_select_column!], $limit: Int, $offset: Int, $order_by: [token_operator_order_by!], $where: token_operator_bool_exp) {
  token_operator_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...token_operator_aggregate_fieldsFragment
    }
    nodes {
      ...token_operatorFragment
    }
  }
}
Variables
{
  "distinct_on": [token_operator_select_column],
  "limit": 123,
  "offset": 123,
  "order_by": [token_operator_order_by],
  "where": token_operator_bool_exp
}
Response
{
  "data": {
    "token_operator_aggregate": {
      "aggregate": token_operator_aggregate_fields,
      "nodes": [token_operator]
    }
  }
}

token_operator_by_pk

fetch data from the table: "token_operator" using primary key columns
Returns a token_operator

Name Description
id - Int!

Example

Query
query token_operator_by_pk($id: Int!) {
  token_operator_by_pk(id: $id) {
    id
    level
    operator
    owner {
      ...walletsFragment
    }
    owner_id
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "token_operator_by_pk": {
      "id": 987,
      "level": bigint,
      "operator": "abc123",
      "owner": wallets,
      "owner_id": 987,
      "token": tokens,
      "token_id": 123
    }
  }
}

token_tag

fetch data from the table: "token_tag"
Returns [token_tag!]!

Name Description
distinct_on - [token_tag_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [token_tag_order_by!] sort the rows by one or more columns
where - token_tag_bool_exp filter the rows returned

Example

Query
query token_tag($distinct_on: [token_tag_select_column!], $limit: Int, $offset: Int, $order_by: [token_tag_order_by!], $where: token_tag_bool_exp) {
  token_tag(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    id
    tag {
      ...tagsFragment
    }
    tag_id
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{
  "distinct_on": [token_tag_select_column],
  "limit": 123,
  "offset": 123,
  "order_by": [token_tag_order_by],
  "where": token_tag_bool_exp
}
Response
{
  "data": {
    "token_tag": [
      {
        "id": 123,
        "tag": tags,
        "tag_id": bigint,
        "token": tokens,
        "token_id": 987
      }
    ]
  }
}

token_tag_aggregate

fetch aggregated fields from the table: "token_tag"
Returns a token_tag_aggregate!

Name Description
distinct_on - [token_tag_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [token_tag_order_by!] sort the rows by one or more columns
where - token_tag_bool_exp filter the rows returned

Example

Query
query token_tag_aggregate($distinct_on: [token_tag_select_column!], $limit: Int, $offset: Int, $order_by: [token_tag_order_by!], $where: token_tag_bool_exp) {
  token_tag_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...token_tag_aggregate_fieldsFragment
    }
    nodes {
      ...token_tagFragment
    }
  }
}
Variables
{
  "distinct_on": [token_tag_select_column],
  "limit": 987,
  "offset": 123,
  "order_by": [token_tag_order_by],
  "where": token_tag_bool_exp
}
Response
{
  "data": {
    "token_tag_aggregate": {
      "aggregate": token_tag_aggregate_fields,
      "nodes": [token_tag]
    }
  }
}

token_tag_by_pk

fetch data from the table: "token_tag" using primary key columns
Returns a token_tag

Name Description
id - Int!

Example

Query
query token_tag_by_pk($id: Int!) {
  token_tag_by_pk(id: $id) {
    id
    tag {
      ...tagsFragment
    }
    tag_id
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "token_tag_by_pk": {
      "id": 987,
      "tag": tags,
      "tag_id": bigint,
      "token": tokens,
      "token_id": 987
    }
  }
}

tokens

An array relationship
Returns [tokens!]!

Name Description
distinct_on - [tokens_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tokens_order_by!] sort the rows by one or more columns
where - tokens_bool_exp filter the rows returned

Example

Query
query tokens($distinct_on: [tokens_select_column!], $limit: Int, $offset: Int, $order_by: [tokens_order_by!], $where: tokens_bool_exp) {
  tokens(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    asset_hash
    auctions {
      ...auctionsFragment
    }
    auctions_aggregate {
      ...auctions_aggregateFragment
    }
    collection_id
    creator {
      ...walletsFragment
    }
    creator_id
    hdao_balance
    holders {
      ...token_balancesFragment
    }
    holders_aggregate {
      ...token_balances_aggregateFragment
    }
    id
    is_signed
    level
    listing {
      ...listingsFragment
    }
    listing_aggregate {
      ...listings_aggregateFragment
    }
    metadata {
      ...token_metadatasFragment
    }
    metadata_id
    minter_contract
    operators {
      ...token_operatorFragment
    }
    operators_aggregate {
      ...token_operator_aggregateFragment
    }
    royalties
    supply
    swaps {
      ...swapFragment
    }
    swaps_aggregate {
      ...swap_aggregateFragment
    }
    timestamp
    token_holders {
      ...token_holderFragment
    }
    token_holders_aggregate {
      ...token_holder_aggregateFragment
    }
    token_id
    token_signatures {
      ...split_signaturesFragment
    }
    token_signatures_aggregate {
      ...split_signatures_aggregateFragment
    }
    token_tags {
      ...token_tagFragment
    }
    token_tags_aggregate {
      ...token_tag_aggregateFragment
    }
    trade {
      ...tradeFragment
    }
    trade_aggregate {
      ...trade_aggregateFragment
    }
  }
}
Variables
{
  "distinct_on": [tokens_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [tokens_order_by],
  "where": tokens_bool_exp
}
Response
{
  "data": {
    "tokens": [
      {
        "asset_hash": "abc123",
        "auctions": [auctions],
        "auctions_aggregate": auctions_aggregate,
        "collection_id": "xyz789",
        "creator": wallets,
        "creator_id": 123,
        "hdao_balance": bigint,
        "holders": [token_balances],
        "holders_aggregate": token_balances_aggregate,
        "id": 123,
        "is_signed": false,
        "level": bigint,
        "listing": [listings],
        "listing_aggregate": listings_aggregate,
        "metadata": token_metadatas,
        "metadata_id": "abc123",
        "minter_contract": "abc123",
        "operators": [token_operator],
        "operators_aggregate": token_operator_aggregate,
        "royalties": smallint,
        "supply": smallint,
        "swaps": [swap],
        "swaps_aggregate": swap_aggregate,
        "timestamp": timestamptz,
        "token_holders": [token_holder],
        "token_holders_aggregate": token_holder_aggregate,
        "token_id": "xyz789",
        "token_signatures": [split_signatures],
        "token_signatures_aggregate": split_signatures_aggregate,
        "token_tags": [token_tag],
        "token_tags_aggregate": token_tag_aggregate,
        "trade": [trade],
        "trade_aggregate": trade_aggregate
      }
    ]
  }
}

tokens_aggregate

An aggregate relationship
Returns a tokens_aggregate!

Name Description
distinct_on - [tokens_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [tokens_order_by!] sort the rows by one or more columns
where - tokens_bool_exp filter the rows returned

Example

Query
query tokens_aggregate($distinct_on: [tokens_select_column!], $limit: Int, $offset: Int, $order_by: [tokens_order_by!], $where: tokens_bool_exp) {
  tokens_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...tokens_aggregate_fieldsFragment
    }
    nodes {
      ...tokensFragment
    }
  }
}
Variables
{
  "distinct_on": [tokens_select_column],
  "limit": 987,
  "offset": 123,
  "order_by": [tokens_order_by],
  "where": tokens_bool_exp
}
Response
{
  "data": {
    "tokens_aggregate": {
      "aggregate": tokens_aggregate_fields,
      "nodes": [tokens]
    }
  }
}

tokens_by_pk

fetch data from the table: "tokens" using primary key columns
Returns a tokens

Name Description
id - Int!

Example

Query
query tokens_by_pk($id: Int!) {
  tokens_by_pk(id: $id) {
    asset_hash
    auctions {
      ...auctionsFragment
    }
    auctions_aggregate {
      ...auctions_aggregateFragment
    }
    collection_id
    creator {
      ...walletsFragment
    }
    creator_id
    hdao_balance
    holders {
      ...token_balancesFragment
    }
    holders_aggregate {
      ...token_balances_aggregateFragment
    }
    id
    is_signed
    level
    listing {
      ...listingsFragment
    }
    listing_aggregate {
      ...listings_aggregateFragment
    }
    metadata {
      ...token_metadatasFragment
    }
    metadata_id
    minter_contract
    operators {
      ...token_operatorFragment
    }
    operators_aggregate {
      ...token_operator_aggregateFragment
    }
    royalties
    supply
    swaps {
      ...swapFragment
    }
    swaps_aggregate {
      ...swap_aggregateFragment
    }
    timestamp
    token_holders {
      ...token_holderFragment
    }
    token_holders_aggregate {
      ...token_holder_aggregateFragment
    }
    token_id
    token_signatures {
      ...split_signaturesFragment
    }
    token_signatures_aggregate {
      ...split_signatures_aggregateFragment
    }
    token_tags {
      ...token_tagFragment
    }
    token_tags_aggregate {
      ...token_tag_aggregateFragment
    }
    trade {
      ...tradeFragment
    }
    trade_aggregate {
      ...trade_aggregateFragment
    }
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "tokens_by_pk": {
      "asset_hash": "abc123",
      "auctions": [auctions],
      "auctions_aggregate": auctions_aggregate,
      "collection_id": "abc123",
      "creator": wallets,
      "creator_id": 987,
      "hdao_balance": bigint,
      "holders": [token_balances],
      "holders_aggregate": token_balances_aggregate,
      "id": 987,
      "is_signed": false,
      "level": bigint,
      "listing": [listings],
      "listing_aggregate": listings_aggregate,
      "metadata": token_metadatas,
      "metadata_id": "abc123",
      "minter_contract": "abc123",
      "operators": [token_operator],
      "operators_aggregate": token_operator_aggregate,
      "royalties": smallint,
      "supply": smallint,
      "swaps": [swap],
      "swaps_aggregate": swap_aggregate,
      "timestamp": timestamptz,
      "token_holders": [token_holder],
      "token_holders_aggregate": token_holder_aggregate,
      "token_id": "abc123",
      "token_signatures": [split_signatures],
      "token_signatures_aggregate": split_signatures_aggregate,
      "token_tags": [token_tag],
      "token_tags_aggregate": token_tag_aggregate,
      "trade": [trade],
      "trade_aggregate": trade_aggregate
    }
  }
}

trade

An array relationship
Returns [trade!]!

Name Description
distinct_on - [trade_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [trade_order_by!] sort the rows by one or more columns
where - trade_bool_exp filter the rows returned

Example

Query
query trade($distinct_on: [trade_select_column!], $limit: Int, $offset: Int, $order_by: [trade_order_by!], $where: trade_bool_exp) {
  trade(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    amount
    buyer {
      ...walletsFragment
    }
    buyer_id
    id
    level
    ophash
    seller {
      ...walletsFragment
    }
    seller_id
    swap {
      ...swapFragment
    }
    swap_id
    timestamp
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{
  "distinct_on": [trade_select_column],
  "limit": 987,
  "offset": 123,
  "order_by": [trade_order_by],
  "where": trade_bool_exp
}
Response
{
  "data": {
    "trade": [
      {
        "amount": bigint,
        "buyer": wallets,
        "buyer_id": 987,
        "id": bigint,
        "level": bigint,
        "ophash": "xyz789",
        "seller": wallets,
        "seller_id": 123,
        "swap": swap,
        "swap_id": bigint,
        "timestamp": timestamptz,
        "token": tokens,
        "token_id": 123
      }
    ]
  }
}

trade_aggregate

An aggregate relationship
Returns a trade_aggregate!

Name Description
distinct_on - [trade_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [trade_order_by!] sort the rows by one or more columns
where - trade_bool_exp filter the rows returned

Example

Query
query trade_aggregate($distinct_on: [trade_select_column!], $limit: Int, $offset: Int, $order_by: [trade_order_by!], $where: trade_bool_exp) {
  trade_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...trade_aggregate_fieldsFragment
    }
    nodes {
      ...tradeFragment
    }
  }
}
Variables
{
  "distinct_on": [trade_select_column],
  "limit": 123,
  "offset": 987,
  "order_by": [trade_order_by],
  "where": trade_bool_exp
}
Response
{
  "data": {
    "trade_aggregate": {
      "aggregate": trade_aggregate_fields,
      "nodes": [trade]
    }
  }
}

trade_by_pk

fetch data from the table: "trade" using primary key columns
Returns a trade

Name Description
id - bigint!

Example

Query
query trade_by_pk($id: bigint!) {
  trade_by_pk(id: $id) {
    amount
    buyer {
      ...walletsFragment
    }
    buyer_id
    id
    level
    ophash
    seller {
      ...walletsFragment
    }
    seller_id
    swap {
      ...swapFragment
    }
    swap_id
    timestamp
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "trade_by_pk": {
      "amount": bigint,
      "buyer": wallets,
      "buyer_id": 123,
      "id": bigint,
      "level": bigint,
      "ophash": "abc123",
      "seller": wallets,
      "seller_id": 123,
      "swap": swap,
      "swap_id": bigint,
      "timestamp": timestamptz,
      "token": tokens,
      "token_id": 987
    }
  }
}

trades

fetch data from the table: "trades"
Returns [trades!]!

Name Description
distinct_on - [trades_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [trades_order_by!] sort the rows by one or more columns
where - trades_bool_exp filter the rows returned

Example

Query
query trades($distinct_on: [trades_select_column!], $limit: Int, $offset: Int, $order_by: [trades_order_by!], $where: trades_bool_exp) {
  trades(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    _token_uuid
    buyer {
      ...walletsFragment
    }
    buyer_id
    id
    level
    listing {
      ...listingsFragment
    }
    listing_id
    market_place
    market_place_contract
    price
    quantity
    seller {
      ...walletsFragment
    }
    seller_id
    timestamp
    trade_type
  }
}
Variables
{
  "distinct_on": [trades_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [trades_order_by],
  "where": trades_bool_exp
}
Response
{
  "data": {
    "trades": [
      {
        "_token_uuid": "abc123",
        "buyer": wallets,
        "buyer_id": 123,
        "id": 987,
        "level": bigint,
        "listing": listings,
        "listing_id": 987,
        "market_place": "xyz789",
        "market_place_contract": "abc123",
        "price": bigint,
        "quantity": bigint,
        "seller": wallets,
        "seller_id": 987,
        "timestamp": timestamptz,
        "trade_type": "abc123"
      }
    ]
  }
}

trades_aggregate

fetch aggregated fields from the table: "trades"
Returns a trades_aggregate!

Name Description
distinct_on - [trades_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [trades_order_by!] sort the rows by one or more columns
where - trades_bool_exp filter the rows returned

Example

Query
query trades_aggregate($distinct_on: [trades_select_column!], $limit: Int, $offset: Int, $order_by: [trades_order_by!], $where: trades_bool_exp) {
  trades_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...trades_aggregate_fieldsFragment
    }
    nodes {
      ...tradesFragment
    }
  }
}
Variables
{
  "distinct_on": [trades_select_column],
  "limit": 987,
  "offset": 987,
  "order_by": [trades_order_by],
  "where": trades_bool_exp
}
Response
{
  "data": {
    "trades_aggregate": {
      "aggregate": trades_aggregate_fields,
      "nodes": [trades]
    }
  }
}

trades_by_pk

fetch data from the table: "trades" using primary key columns
Returns a trades

Name Description
id - Int!

Example

Query
query trades_by_pk($id: Int!) {
  trades_by_pk(id: $id) {
    _token_uuid
    buyer {
      ...walletsFragment
    }
    buyer_id
    id
    level
    listing {
      ...listingsFragment
    }
    listing_id
    market_place
    market_place_contract
    price
    quantity
    seller {
      ...walletsFragment
    }
    seller_id
    timestamp
    trade_type
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "trades_by_pk": {
      "_token_uuid": "xyz789",
      "buyer": wallets,
      "buyer_id": 987,
      "id": 987,
      "level": bigint,
      "listing": listings,
      "listing_id": 123,
      "market_place": "abc123",
      "market_place_contract": "xyz789",
      "price": bigint,
      "quantity": bigint,
      "seller": wallets,
      "seller_id": 987,
      "timestamp": timestamptz,
      "trade_type": "abc123"
    }
  }
}

wallets

fetch data from the table: "wallets"
Returns [wallets!]!

Name Description
distinct_on - [wallets_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [wallets_order_by!] sort the rows by one or more columns
where - wallets_bool_exp filter the rows returned

Example

Query
query wallets($distinct_on: [wallets_select_column!], $limit: Int, $offset: Int, $order_by: [wallets_order_by!], $where: wallets_bool_exp) {
  wallets(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    address
    asks {
      ...askFragment
    }
    asks_aggregate {
      ...ask_aggregateFragment
    }
    auctions {
      ...auctionsFragment
    }
    auctions_aggregate {
      ...auctions_aggregateFragment
    }
    bids {
      ...bidsFragment
    }
    bids_aggregate {
      ...bids_aggregateFragment
    }
    bought_asks {
      ...fulfilled_askFragment
    }
    bought_asks_aggregate {
      ...fulfilled_ask_aggregateFragment
    }
    buyer {
      ...tradesFragment
    }
    buyer_aggregate {
      ...trades_aggregateFragment
    }
    created_dutch_auctions {
      ...dutch_auctionFragment
    }
    created_dutch_auctions_aggregate {
      ...dutch_auction_aggregateFragment
    }
    created_english_auctions {
      ...english_auctionFragment
    }
    created_english_auctions_aggregate {
      ...english_auction_aggregateFragment
    }
    creator {
      ...tokensFragment
    }
    creator_aggregate {
      ...tokens_aggregateFragment
    }
    description
    english_bids {
      ...english_bidFragment
    }
    english_bids_aggregate {
      ...english_bid_aggregateFragment
    }
    hdao_balance
    hen_bids {
      ...bidFragment
    }
    hen_bids_aggregate {
      ...bid_aggregateFragment
    }
    holder_signatures {
      ...split_signaturesFragment
    }
    holder_signatures_aggregate {
      ...split_signatures_aggregateFragment
    }
    holders_token {
      ...token_holderFragment
    }
    holders_token_aggregate {
      ...token_holder_aggregateFragment
    }
    id
    is_split
    metadata
    metadata_file
    name
    owner {
      ...token_operatorFragment
    }
    owner_aggregate {
      ...token_operator_aggregateFragment
    }
    purchases {
      ...tradeFragment
    }
    purchases_aggregate {
      ...trade_aggregateFragment
    }
    sales {
      ...tradeFragment
    }
    sales_aggregate {
      ...trade_aggregateFragment
    }
    seller {
      ...tradesFragment
    }
    seller_aggregate {
      ...trades_aggregateFragment
    }
    shareholder {
      ...shareholderFragment
    }
    shareholder_aggregate {
      ...shareholder_aggregateFragment
    }
    shares {
      ...split_contractFragment
    }
    shares_aggregate {
      ...split_contract_aggregateFragment
    }
    sold_asks {
      ...fulfilled_askFragment
    }
    sold_asks_aggregate {
      ...fulfilled_ask_aggregateFragment
    }
    sold_bids {
      ...bidFragment
    }
    sold_bids_aggregate {
      ...bid_aggregateFragment
    }
    starring_asks {
      ...askFragment
    }
    starring_asks_aggregate {
      ...ask_aggregateFragment
    }
    starring_bids {
      ...bidFragment
    }
    starring_bids_aggregate {
      ...bid_aggregateFragment
    }
    starring_dutch_auctions {
      ...dutch_auctionFragment
    }
    starring_dutch_auctions_aggregate {
      ...dutch_auction_aggregateFragment
    }
    starring_english_auctions {
      ...english_auctionFragment
    }
    starring_english_auctions_aggregate {
      ...english_auction_aggregateFragment
    }
    swaps {
      ...swapFragment
    }
    swaps_aggregate {
      ...swap_aggregateFragment
    }
    token_balances {
      ...token_balancesFragment
    }
    token_balances_aggregate {
      ...token_balances_aggregateFragment
    }
    token_listings {
      ...listingsFragment
    }
    token_listings_aggregate {
      ...listings_aggregateFragment
    }
    won_dutch_auctions {
      ...dutch_auctionFragment
    }
    won_dutch_auctions_aggregate {
      ...dutch_auction_aggregateFragment
    }
  }
}
Variables
{
  "distinct_on": [wallets_select_column],
  "limit": 987,
  "offset": 123,
  "order_by": [wallets_order_by],
  "where": wallets_bool_exp
}
Response
{
  "data": {
    "wallets": [
      {
        "address": "abc123",
        "asks": [ask],
        "asks_aggregate": ask_aggregate,
        "auctions": [auctions],
        "auctions_aggregate": auctions_aggregate,
        "bids": [bids],
        "bids_aggregate": bids_aggregate,
        "bought_asks": [fulfilled_ask],
        "bought_asks_aggregate": fulfilled_ask_aggregate,
        "buyer": [trades],
        "buyer_aggregate": trades_aggregate,
        "created_dutch_auctions": [dutch_auction],
        "created_dutch_auctions_aggregate": dutch_auction_aggregate,
        "created_english_auctions": [english_auction],
        "created_english_auctions_aggregate": english_auction_aggregate,
        "creator": [tokens],
        "creator_aggregate": tokens_aggregate,
        "description": "abc123",
        "english_bids": [english_bid],
        "english_bids_aggregate": english_bid_aggregate,
        "hdao_balance": bigint,
        "hen_bids": [bid],
        "hen_bids_aggregate": bid_aggregate,
        "holder_signatures": [split_signatures],
        "holder_signatures_aggregate": split_signatures_aggregate,
        "holders_token": [token_holder],
        "holders_token_aggregate": token_holder_aggregate,
        "id": 123,
        "is_split": true,
        "metadata": jsonb,
        "metadata_file": "abc123",
        "name": "xyz789",
        "owner": [token_operator],
        "owner_aggregate": token_operator_aggregate,
        "purchases": [trade],
        "purchases_aggregate": trade_aggregate,
        "sales": [trade],
        "sales_aggregate": trade_aggregate,
        "seller": [trades],
        "seller_aggregate": trades_aggregate,
        "shareholder": [shareholder],
        "shareholder_aggregate": shareholder_aggregate,
        "shares": [split_contract],
        "shares_aggregate": split_contract_aggregate,
        "sold_asks": [fulfilled_ask],
        "sold_asks_aggregate": fulfilled_ask_aggregate,
        "sold_bids": [bid],
        "sold_bids_aggregate": bid_aggregate,
        "starring_asks": [ask],
        "starring_asks_aggregate": ask_aggregate,
        "starring_bids": [bid],
        "starring_bids_aggregate": bid_aggregate,
        "starring_dutch_auctions": [dutch_auction],
        "starring_dutch_auctions_aggregate": dutch_auction_aggregate,
        "starring_english_auctions": [english_auction],
        "starring_english_auctions_aggregate": english_auction_aggregate,
        "swaps": [swap],
        "swaps_aggregate": swap_aggregate,
        "token_balances": [token_balances],
        "token_balances_aggregate": token_balances_aggregate,
        "token_listings": [listings],
        "token_listings_aggregate": listings_aggregate,
        "won_dutch_auctions": [dutch_auction],
        "won_dutch_auctions_aggregate": dutch_auction_aggregate
      }
    ]
  }
}

wallets_aggregate

fetch aggregated fields from the table: "wallets"
Returns a wallets_aggregate!

Name Description
distinct_on - [wallets_select_column!] distinct select on columns
limit - Int limit the number of rows returned
offset - Int skip the first n rows. Use only with order_by
order_by - [wallets_order_by!] sort the rows by one or more columns
where - wallets_bool_exp filter the rows returned

Example

Query
query wallets_aggregate($distinct_on: [wallets_select_column!], $limit: Int, $offset: Int, $order_by: [wallets_order_by!], $where: wallets_bool_exp) {
  wallets_aggregate(distinct_on: $distinct_on, limit: $limit, offset: $offset, order_by: $order_by, where: $where) {
    aggregate {
      ...wallets_aggregate_fieldsFragment
    }
    nodes {
      ...walletsFragment
    }
  }
}
Variables
{
  "distinct_on": [wallets_select_column],
  "limit": 987,
  "offset": 123,
  "order_by": [wallets_order_by],
  "where": wallets_bool_exp
}
Response
{
  "data": {
    "wallets_aggregate": {
      "aggregate": wallets_aggregate_fields,
      "nodes": [wallets]
    }
  }
}

wallets_by_pk

fetch data from the table: "wallets" using primary key columns
Returns a wallets

Name Description
id - Int!

Example

Query
query wallets_by_pk($id: Int!) {
  wallets_by_pk(id: $id) {
    address
    asks {
      ...askFragment
    }
    asks_aggregate {
      ...ask_aggregateFragment
    }
    auctions {
      ...auctionsFragment
    }
    auctions_aggregate {
      ...auctions_aggregateFragment
    }
    bids {
      ...bidsFragment
    }
    bids_aggregate {
      ...bids_aggregateFragment
    }
    bought_asks {
      ...fulfilled_askFragment
    }
    bought_asks_aggregate {
      ...fulfilled_ask_aggregateFragment
    }
    buyer {
      ...tradesFragment
    }
    buyer_aggregate {
      ...trades_aggregateFragment
    }
    created_dutch_auctions {
      ...dutch_auctionFragment
    }
    created_dutch_auctions_aggregate {
      ...dutch_auction_aggregateFragment
    }
    created_english_auctions {
      ...english_auctionFragment
    }
    created_english_auctions_aggregate {
      ...english_auction_aggregateFragment
    }
    creator {
      ...tokensFragment
    }
    creator_aggregate {
      ...tokens_aggregateFragment
    }
    description
    english_bids {
      ...english_bidFragment
    }
    english_bids_aggregate {
      ...english_bid_aggregateFragment
    }
    hdao_balance
    hen_bids {
      ...bidFragment
    }
    hen_bids_aggregate {
      ...bid_aggregateFragment
    }
    holder_signatures {
      ...split_signaturesFragment
    }
    holder_signatures_aggregate {
      ...split_signatures_aggregateFragment
    }
    holders_token {
      ...token_holderFragment
    }
    holders_token_aggregate {
      ...token_holder_aggregateFragment
    }
    id
    is_split
    metadata
    metadata_file
    name
    owner {
      ...token_operatorFragment
    }
    owner_aggregate {
      ...token_operator_aggregateFragment
    }
    purchases {
      ...tradeFragment
    }
    purchases_aggregate {
      ...trade_aggregateFragment
    }
    sales {
      ...tradeFragment
    }
    sales_aggregate {
      ...trade_aggregateFragment
    }
    seller {
      ...tradesFragment
    }
    seller_aggregate {
      ...trades_aggregateFragment
    }
    shareholder {
      ...shareholderFragment
    }
    shareholder_aggregate {
      ...shareholder_aggregateFragment
    }
    shares {
      ...split_contractFragment
    }
    shares_aggregate {
      ...split_contract_aggregateFragment
    }
    sold_asks {
      ...fulfilled_askFragment
    }
    sold_asks_aggregate {
      ...fulfilled_ask_aggregateFragment
    }
    sold_bids {
      ...bidFragment
    }
    sold_bids_aggregate {
      ...bid_aggregateFragment
    }
    starring_asks {
      ...askFragment
    }
    starring_asks_aggregate {
      ...ask_aggregateFragment
    }
    starring_bids {
      ...bidFragment
    }
    starring_bids_aggregate {
      ...bid_aggregateFragment
    }
    starring_dutch_auctions {
      ...dutch_auctionFragment
    }
    starring_dutch_auctions_aggregate {
      ...dutch_auction_aggregateFragment
    }
    starring_english_auctions {
      ...english_auctionFragment
    }
    starring_english_auctions_aggregate {
      ...english_auction_aggregateFragment
    }
    swaps {
      ...swapFragment
    }
    swaps_aggregate {
      ...swap_aggregateFragment
    }
    token_balances {
      ...token_balancesFragment
    }
    token_balances_aggregate {
      ...token_balances_aggregateFragment
    }
    token_listings {
      ...listingsFragment
    }
    token_listings_aggregate {
      ...listings_aggregateFragment
    }
    won_dutch_auctions {
      ...dutch_auctionFragment
    }
    won_dutch_auctions_aggregate {
      ...dutch_auction_aggregateFragment
    }
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "wallets_by_pk": {
      "address": "abc123",
      "asks": [ask],
      "asks_aggregate": ask_aggregate,
      "auctions": [auctions],
      "auctions_aggregate": auctions_aggregate,
      "bids": [bids],
      "bids_aggregate": bids_aggregate,
      "bought_asks": [fulfilled_ask],
      "bought_asks_aggregate": fulfilled_ask_aggregate,
      "buyer": [trades],
      "buyer_aggregate": trades_aggregate,
      "created_dutch_auctions": [dutch_auction],
      "created_dutch_auctions_aggregate": dutch_auction_aggregate,
      "created_english_auctions": [english_auction],
      "created_english_auctions_aggregate": english_auction_aggregate,
      "creator": [tokens],
      "creator_aggregate": tokens_aggregate,
      "description": "abc123",
      "english_bids": [english_bid],
      "english_bids_aggregate": english_bid_aggregate,
      "hdao_balance": bigint,
      "hen_bids": [bid],
      "hen_bids_aggregate": bid_aggregate,
      "holder_signatures": [split_signatures],
      "holder_signatures_aggregate": split_signatures_aggregate,
      "holders_token": [token_holder],
      "holders_token_aggregate": token_holder_aggregate,
      "id": 987,
      "is_split": true,
      "metadata": jsonb,
      "metadata_file": "xyz789",
      "name": "abc123",
      "owner": [token_operator],
      "owner_aggregate": token_operator_aggregate,
      "purchases": [trade],
      "purchases_aggregate": trade_aggregate,
      "sales": [trade],
      "sales_aggregate": trade_aggregate,
      "seller": [trades],
      "seller_aggregate": trades_aggregate,
      "shareholder": [shareholder],
      "shareholder_aggregate": shareholder_aggregate,
      "shares": [split_contract],
      "shares_aggregate": split_contract_aggregate,
      "sold_asks": [fulfilled_ask],
      "sold_asks_aggregate": fulfilled_ask_aggregate,
      "sold_bids": [bid],
      "sold_bids_aggregate": bid_aggregate,
      "starring_asks": [ask],
      "starring_asks_aggregate": ask_aggregate,
      "starring_bids": [bid],
      "starring_bids_aggregate": bid_aggregate,
      "starring_dutch_auctions": [dutch_auction],
      "starring_dutch_auctions_aggregate": dutch_auction_aggregate,
      "starring_english_auctions": [english_auction],
      "starring_english_auctions_aggregate": english_auction_aggregate,
      "swaps": [swap],
      "swaps_aggregate": swap_aggregate,
      "token_balances": [token_balances],
      "token_balances_aggregate": token_balances_aggregate,
      "token_listings": [listings],
      "token_listings_aggregate": listings_aggregate,
      "won_dutch_auctions": [dutch_auction],
      "won_dutch_auctions_aggregate": dutch_auction_aggregate
    }
  }
}

Mutations

mutation root

delete__fa2

delete data from the table: "FA2"
Returns a FA2_mutation_response

Name Description
where - FA2_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete__fa2($where: FA2_bool_exp!) {
  delete__fa2(where: $where) {
    affected_rows
    returning {
      ...FA2Fragment
    }
  }
}
Variables
{"where": FA2_bool_exp}
Response
{
  "data": {
    "delete__fa2": {
      "affected_rows": 987,
      "returning": [FA2]
    }
  }
}

delete__fa2__by_pk

delete single row from the table: "FA2"
Returns a FA2

Name Description
contract - String!

Example

Query
mutation delete__fa2__by_pk($contract: String!) {
  delete__fa2__by_pk(contract: $contract) {
    asks {
      ...askFragment
    }
    asks_aggregate {
      ...ask_aggregateFragment
    }
    bids {
      ...bidFragment
    }
    bids_aggregate {
      ...bid_aggregateFragment
    }
    contract
    dutch_auctions {
      ...dutch_auctionFragment
    }
    dutch_auctions_aggregate {
      ...dutch_auction_aggregateFragment
    }
    english_auctions {
      ...english_auctionFragment
    }
    english_auctions_aggregate {
      ...english_auction_aggregateFragment
    }
  }
}
Variables
{"contract": "xyz789"}
Response
{
  "data": {
    "delete__fa2__by_pk": {
      "asks": [ask],
      "asks_aggregate": ask_aggregate,
      "bids": [bid],
      "bids_aggregate": bid_aggregate,
      "contract": "xyz789",
      "dutch_auctions": [dutch_auction],
      "dutch_auctions_aggregate": dutch_auction_aggregate,
      "english_auctions": [english_auction],
      "english_auctions_aggregate": english_auction_aggregate
    }
  }
}

delete_ask

delete data from the table: "ask"
Returns an ask_mutation_response

Name Description
where - ask_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_ask($where: ask_bool_exp!) {
  delete_ask(where: $where) {
    affected_rows
    returning {
      ...askFragment
    }
  }
}
Variables
{"where": ask_bool_exp}
Response
{
  "data": {
    "delete_ask": {
      "affected_rows": 987,
      "returning": [ask]
    }
  }
}

delete_ask_by_pk

delete single row from the table: "ask"
Returns an ask

Name Description
id - bigint!

Example

Query
mutation delete_ask_by_pk($id: bigint!) {
  delete_ask_by_pk(id: $id) {
    amount
    amount_left
    artist {
      ...walletsFragment
    }
    artist_id
    creator {
      ...walletsFragment
    }
    creator_id
    fa2 {
      ...FA2Fragment
    }
    fa2_id
    fulfilled {
      ...fulfilled_askFragment
    }
    fulfilled_aggregate {
      ...fulfilled_ask_aggregateFragment
    }
    id
    level
    objkt_id
    price
    royalties
    status
    timestamp
    update_level
    update_timestamp
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "delete_ask_by_pk": {
      "amount": bigint,
      "amount_left": bigint,
      "artist": wallets,
      "artist_id": 123,
      "creator": wallets,
      "creator_id": 123,
      "fa2": FA2,
      "fa2_id": "abc123",
      "fulfilled": [fulfilled_ask],
      "fulfilled_aggregate": fulfilled_ask_aggregate,
      "id": bigint,
      "level": bigint,
      "objkt_id": bigint,
      "price": bigint,
      "royalties": bigint,
      "status": "xyz789",
      "timestamp": timestamptz,
      "update_level": bigint,
      "update_timestamp": timestamptz
    }
  }
}

delete_auctions

delete data from the table: "auctions"
Returns an auctions_mutation_response

Name Description
where - auctions_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_auctions($where: auctions_bool_exp!) {
  delete_auctions(where: $where) {
    affected_rows
    returning {
      ...auctionsFragment
    }
  }
}
Variables
{"where": auctions_bool_exp}
Response
{
  "data": {
    "delete_auctions": {
      "affected_rows": 987,
      "returning": [auctions]
    }
  }
}

delete_auctions_by_pk

delete single row from the table: "auctions"
Returns an auctions

Name Description
id - Int!

Example

Query
mutation delete_auctions_by_pk($id: Int!) {
  delete_auctions_by_pk(id: $id) {
    _token_id
    auction_contract
    bids {
      ...bidsFragment
    }
    bids_aggregate {
      ...bids_aggregateFragment
    }
    creator {
      ...walletsFragment
    }
    creator_id
    highest_bid_address
    id
    level
    reserve_price
    sold_at
    status
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "delete_auctions_by_pk": {
      "_token_id": "abc123",
      "auction_contract": "xyz789",
      "bids": [bids],
      "bids_aggregate": bids_aggregate,
      "creator": wallets,
      "creator_id": 987,
      "highest_bid_address": "abc123",
      "id": 123,
      "level": bigint,
      "reserve_price": bigint,
      "sold_at": bigint,
      "status": "xyz789",
      "token": tokens,
      "token_id": 123
    }
  }
}

delete_bid

delete data from the table: "bid"
Returns a bid_mutation_response

Name Description
where - bid_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_bid($where: bid_bool_exp!) {
  delete_bid(where: $where) {
    affected_rows
    returning {
      ...bidFragment
    }
  }
}
Variables
{"where": bid_bool_exp}
Response
{
  "data": {
    "delete_bid": {
      "affected_rows": 987,
      "returning": [bid]
    }
  }
}

delete_bid_by_pk

delete single row from the table: "bid"
Returns a bid

Name Description
id - bigint!

Example

Query
mutation delete_bid_by_pk($id: bigint!) {
  delete_bid_by_pk(id: $id) {
    artist {
      ...walletsFragment
    }
    artist_id
    creator {
      ...walletsFragment
    }
    creator_id
    fa2 {
      ...FA2Fragment
    }
    fa2_id
    id
    level
    objkt_id
    price
    royalties
    seller {
      ...walletsFragment
    }
    seller_id
    status
    timestamp
    update_level
    update_timestamp
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "delete_bid_by_pk": {
      "artist": wallets,
      "artist_id": 123,
      "creator": wallets,
      "creator_id": 987,
      "fa2": FA2,
      "fa2_id": "abc123",
      "id": bigint,
      "level": bigint,
      "objkt_id": bigint,
      "price": bigint,
      "royalties": bigint,
      "seller": wallets,
      "seller_id": 987,
      "status": "xyz789",
      "timestamp": timestamptz,
      "update_level": bigint,
      "update_timestamp": timestamptz
    }
  }
}

delete_bids

delete data from the table: "bids"
Returns a bids_mutation_response

Name Description
where - bids_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_bids($where: bids_bool_exp!) {
  delete_bids(where: $where) {
    affected_rows
    returning {
      ...bidsFragment
    }
  }
}
Variables
{"where": bids_bool_exp}
Response
{
  "data": {
    "delete_bids": {
      "affected_rows": 123,
      "returning": [bids]
    }
  }
}

delete_bids_by_pk

delete single row from the table: "bids"
Returns a bids

Name Description
id - Int!

Example

Query
mutation delete_bids_by_pk($id: Int!) {
  delete_bids_by_pk(id: $id) {
    _token_id
    auction {
      ...auctionsFragment
    }
    auction_id
    bidder {
      ...walletsFragment
    }
    bidder_id
    id
    is_winner
    level
    price
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "delete_bids_by_pk": {
      "_token_id": "abc123",
      "auction": auctions,
      "auction_id": 123,
      "bidder": wallets,
      "bidder_id": 123,
      "id": 987,
      "is_winner": false,
      "level": bigint,
      "price": bigint
    }
  }
}

delete_dipdup_contract

delete data from the table: "dipdup_contract"
Returns a dipdup_contract_mutation_response

Name Description
where - dipdup_contract_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_dipdup_contract($where: dipdup_contract_bool_exp!) {
  delete_dipdup_contract(where: $where) {
    affected_rows
    returning {
      ...dipdup_contractFragment
    }
  }
}
Variables
{"where": dipdup_contract_bool_exp}
Response
{
  "data": {
    "delete_dipdup_contract": {
      "affected_rows": 987,
      "returning": [dipdup_contract]
    }
  }
}

delete_dipdup_contract_by_pk

delete single row from the table: "dipdup_contract"
Returns a dipdup_contract

Name Description
name - String!

Example

Query
mutation delete_dipdup_contract_by_pk($name: String!) {
  delete_dipdup_contract_by_pk(name: $name) {
    address
    created_at
    name
    typename
    updated_at
  }
}
Variables
{"name": "xyz789"}
Response
{
  "data": {
    "delete_dipdup_contract_by_pk": {
      "address": "abc123",
      "created_at": timestamptz,
      "name": "abc123",
      "typename": "xyz789",
      "updated_at": timestamptz
    }
  }
}

delete_dipdup_head

delete data from the table: "dipdup_head"
Returns a dipdup_head_mutation_response

Name Description
where - dipdup_head_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_dipdup_head($where: dipdup_head_bool_exp!) {
  delete_dipdup_head(where: $where) {
    affected_rows
    returning {
      ...dipdup_headFragment
    }
  }
}
Variables
{"where": dipdup_head_bool_exp}
Response
{
  "data": {
    "delete_dipdup_head": {
      "affected_rows": 987,
      "returning": [dipdup_head]
    }
  }
}

delete_dipdup_head_by_pk

delete single row from the table: "dipdup_head"
Returns a dipdup_head

Name Description
name - String!

Example

Query
mutation delete_dipdup_head_by_pk($name: String!) {
  delete_dipdup_head_by_pk(name: $name) {
    created_at
    hash
    level
    name
    timestamp
    updated_at
  }
}
Variables
{"name": "xyz789"}
Response
{
  "data": {
    "delete_dipdup_head_by_pk": {
      "created_at": timestamptz,
      "hash": "abc123",
      "level": 987,
      "name": "xyz789",
      "timestamp": timestamptz,
      "updated_at": timestamptz
    }
  }
}

delete_dipdup_index

delete data from the table: "dipdup_index"
Returns a dipdup_index_mutation_response

Name Description
where - dipdup_index_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_dipdup_index($where: dipdup_index_bool_exp!) {
  delete_dipdup_index(where: $where) {
    affected_rows
    returning {
      ...dipdup_indexFragment
    }
  }
}
Variables
{"where": dipdup_index_bool_exp}
Response
{
  "data": {
    "delete_dipdup_index": {
      "affected_rows": 987,
      "returning": [dipdup_index]
    }
  }
}

delete_dipdup_index_by_pk

delete single row from the table: "dipdup_index"
Returns a dipdup_index

Name Description
name - String!

Example

Query
mutation delete_dipdup_index_by_pk($name: String!) {
  delete_dipdup_index_by_pk(name: $name) {
    config_hash
    created_at
    level
    name
    status
    template
    template_values
    type
    updated_at
  }
}
Variables
{"name": "abc123"}
Response
{
  "data": {
    "delete_dipdup_index_by_pk": {
      "config_hash": "abc123",
      "created_at": timestamptz,
      "level": 987,
      "name": "abc123",
      "status": "xyz789",
      "template": "abc123",
      "template_values": jsonb,
      "type": "xyz789",
      "updated_at": timestamptz
    }
  }
}

delete_dipdup_schema

delete data from the table: "dipdup_schema"
Returns a dipdup_schema_mutation_response

Name Description
where - dipdup_schema_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_dipdup_schema($where: dipdup_schema_bool_exp!) {
  delete_dipdup_schema(where: $where) {
    affected_rows
    returning {
      ...dipdup_schemaFragment
    }
  }
}
Variables
{"where": dipdup_schema_bool_exp}
Response
{
  "data": {
    "delete_dipdup_schema": {
      "affected_rows": 987,
      "returning": [dipdup_schema]
    }
  }
}

delete_dipdup_schema_by_pk

delete single row from the table: "dipdup_schema"
Returns a dipdup_schema

Name Description
name - String!

Example

Query
mutation delete_dipdup_schema_by_pk($name: String!) {
  delete_dipdup_schema_by_pk(name: $name) {
    created_at
    hash
    name
    reindex
    updated_at
  }
}
Variables
{"name": "abc123"}
Response
{
  "data": {
    "delete_dipdup_schema_by_pk": {
      "created_at": timestamptz,
      "hash": "abc123",
      "name": "xyz789",
      "reindex": "xyz789",
      "updated_at": timestamptz
    }
  }
}

delete_dutch_auction

delete data from the table: "dutch_auction"
Returns a dutch_auction_mutation_response

Name Description
where - dutch_auction_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_dutch_auction($where: dutch_auction_bool_exp!) {
  delete_dutch_auction(where: $where) {
    affected_rows
    returning {
      ...dutch_auctionFragment
    }
  }
}
Variables
{"where": dutch_auction_bool_exp}
Response
{
  "data": {
    "delete_dutch_auction": {
      "affected_rows": 123,
      "returning": [dutch_auction]
    }
  }
}

delete_dutch_auction_by_pk

delete single row from the table: "dutch_auction"
Returns a dutch_auction

Name Description
id - bigint!

Example

Query
mutation delete_dutch_auction_by_pk($id: bigint!) {
  delete_dutch_auction_by_pk(id: $id) {
    artist {
      ...walletsFragment
    }
    artist_id
    buy_price
    buyer {
      ...walletsFragment
    }
    buyer_id
    contract_version
    creator {
      ...walletsFragment
    }
    creator_id
    end_price
    end_time
    fa2 {
      ...FA2Fragment
    }
    fa2_id
    hash
    id
    level
    objkt_id
    royalties
    start_price
    start_time
    status
    timestamp
    update_level
    update_timestamp
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "delete_dutch_auction_by_pk": {
      "artist": wallets,
      "artist_id": 123,
      "buy_price": bigint,
      "buyer": wallets,
      "buyer_id": 987,
      "contract_version": smallint,
      "creator": wallets,
      "creator_id": 123,
      "end_price": bigint,
      "end_time": timestamptz,
      "fa2": FA2,
      "fa2_id": "abc123",
      "hash": "xyz789",
      "id": bigint,
      "level": bigint,
      "objkt_id": bigint,
      "royalties": bigint,
      "start_price": bigint,
      "start_time": timestamptz,
      "status": "xyz789",
      "timestamp": timestamptz,
      "update_level": bigint,
      "update_timestamp": timestamptz
    }
  }
}

delete_english_auction

delete data from the table: "english_auction"
Returns an english_auction_mutation_response

Name Description
where - english_auction_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_english_auction($where: english_auction_bool_exp!) {
  delete_english_auction(where: $where) {
    affected_rows
    returning {
      ...english_auctionFragment
    }
  }
}
Variables
{"where": english_auction_bool_exp}
Response
{
  "data": {
    "delete_english_auction": {
      "affected_rows": 987,
      "returning": [english_auction]
    }
  }
}

delete_english_auction_by_pk

delete single row from the table: "english_auction"
Returns an english_auction

Name Description
id - bigint!

Example

Query
mutation delete_english_auction_by_pk($id: bigint!) {
  delete_english_auction_by_pk(id: $id) {
    artist {
      ...walletsFragment
    }
    artist_id
    bids {
      ...english_bidFragment
    }
    bids_aggregate {
      ...english_bid_aggregateFragment
    }
    contract_version
    creator {
      ...walletsFragment
    }
    creator_id
    end_time
    extension_time
    fa2 {
      ...FA2Fragment
    }
    fa2_id
    hash
    id
    level
    objkt_id
    price_increment
    reserve
    royalties
    start_time
    status
    timestamp
    update_level
    update_timestamp
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "delete_english_auction_by_pk": {
      "artist": wallets,
      "artist_id": 123,
      "bids": [english_bid],
      "bids_aggregate": english_bid_aggregate,
      "contract_version": smallint,
      "creator": wallets,
      "creator_id": 987,
      "end_time": timestamptz,
      "extension_time": bigint,
      "fa2": FA2,
      "fa2_id": "xyz789",
      "hash": "xyz789",
      "id": bigint,
      "level": bigint,
      "objkt_id": bigint,
      "price_increment": bigint,
      "reserve": bigint,
      "royalties": bigint,
      "start_time": timestamptz,
      "status": "xyz789",
      "timestamp": timestamptz,
      "update_level": bigint,
      "update_timestamp": timestamptz
    }
  }
}

delete_english_bid

delete data from the table: "english_bid"
Returns an english_bid_mutation_response

Name Description
where - english_bid_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_english_bid($where: english_bid_bool_exp!) {
  delete_english_bid(where: $where) {
    affected_rows
    returning {
      ...english_bidFragment
    }
  }
}
Variables
{"where": english_bid_bool_exp}
Response
{
  "data": {
    "delete_english_bid": {
      "affected_rows": 987,
      "returning": [english_bid]
    }
  }
}

delete_english_bid_by_pk

delete single row from the table: "english_bid"
Returns an english_bid

Name Description
id - bigint!

Example

Query
mutation delete_english_bid_by_pk($id: bigint!) {
  delete_english_bid_by_pk(id: $id) {
    amount
    auction {
      ...english_auctionFragment
    }
    auction_id
    bidder {
      ...walletsFragment
    }
    bidder_id
    id
    level
    timestamp
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "delete_english_bid_by_pk": {
      "amount": bigint,
      "auction": english_auction,
      "auction_id": bigint,
      "bidder": wallets,
      "bidder_id": 987,
      "id": bigint,
      "level": bigint,
      "timestamp": timestamptz
    }
  }
}

delete_fulfilled_ask

delete data from the table: "fulfilled_ask"
Returns a fulfilled_ask_mutation_response

Name Description
where - fulfilled_ask_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_fulfilled_ask($where: fulfilled_ask_bool_exp!) {
  delete_fulfilled_ask(where: $where) {
    affected_rows
    returning {
      ...fulfilled_askFragment
    }
  }
}
Variables
{"where": fulfilled_ask_bool_exp}
Response
{
  "data": {
    "delete_fulfilled_ask": {
      "affected_rows": 987,
      "returning": [fulfilled_ask]
    }
  }
}

delete_fulfilled_ask_by_pk

delete single row from the table: "fulfilled_ask"
Returns a fulfilled_ask

Name Description
id - bigint!

Example

Query
mutation delete_fulfilled_ask_by_pk($id: bigint!) {
  delete_fulfilled_ask_by_pk(id: $id) {
    amount
    ask {
      ...askFragment
    }
    ask_id
    buyer {
      ...walletsFragment
    }
    buyer_id
    id
    level
    objkt_id
    seller {
      ...walletsFragment
    }
    seller_id
    timestamp
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "delete_fulfilled_ask_by_pk": {
      "amount": bigint,
      "ask": ask,
      "ask_id": bigint,
      "buyer": wallets,
      "buyer_id": 123,
      "id": bigint,
      "level": bigint,
      "objkt_id": bigint,
      "seller": wallets,
      "seller_id": 123,
      "timestamp": timestamptz
    }
  }
}

delete_listings

delete data from the table: "listings"
Returns a listings_mutation_response

Name Description
where - listings_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_listings($where: listings_bool_exp!) {
  delete_listings(where: $where) {
    affected_rows
    returning {
      ...listingsFragment
    }
  }
}
Variables
{"where": listings_bool_exp}
Response
{
  "data": {
    "delete_listings": {
      "affected_rows": 987,
      "returning": [listings]
    }
  }
}

delete_listings_by_pk

delete single row from the table: "listings"
Returns a listings

Name Description
id - Int!

Example

Query
mutation delete_listings_by_pk($id: Int!) {
  delete_listings_by_pk(id: $id) {
    _token_id
    id
    listing_id
    market_place
    market_place_contract
    price
    quantity
    seller {
      ...walletsFragment
    }
    seller_id
    status
    token {
      ...tokensFragment
    }
    token_id
    trade {
      ...tradesFragment
    }
    trade_aggregate {
      ...trades_aggregateFragment
    }
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "delete_listings_by_pk": {
      "_token_id": "abc123",
      "id": 123,
      "listing_id": "xyz789",
      "market_place": "abc123",
      "market_place_contract": "xyz789",
      "price": bigint,
      "quantity": bigint,
      "seller": wallets,
      "seller_id": 987,
      "status": "xyz789",
      "token": tokens,
      "token_id": 987,
      "trade": [trades],
      "trade_aggregate": trades_aggregate
    }
  }
}

delete_minter_contracts

delete data from the table: "minter_contracts"
Returns a minter_contracts_mutation_response

Name Description
where - minter_contracts_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_minter_contracts($where: minter_contracts_bool_exp!) {
  delete_minter_contracts(where: $where) {
    affected_rows
    returning {
      ...minter_contractsFragment
    }
  }
}
Variables
{"where": minter_contracts_bool_exp}
Response
{
  "data": {
    "delete_minter_contracts": {
      "affected_rows": 987,
      "returning": [minter_contracts]
    }
  }
}

delete_minter_contracts_by_pk

delete single row from the table: "minter_contracts"
Returns a minter_contracts

Name Description
id - Int!

Example

Query
mutation delete_minter_contracts_by_pk($id: Int!) {
  delete_minter_contracts_by_pk(id: $id) {
    id
    market_places
    minter_contract
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "delete_minter_contracts_by_pk": {
      "id": 123,
      "market_places": "abc123",
      "minter_contract": "xyz789"
    }
  }
}

delete_shareholder

delete data from the table: "shareholder"
Returns a shareholder_mutation_response

Name Description
where - shareholder_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_shareholder($where: shareholder_bool_exp!) {
  delete_shareholder(where: $where) {
    affected_rows
    returning {
      ...shareholderFragment
    }
  }
}
Variables
{"where": shareholder_bool_exp}
Response
{
  "data": {
    "delete_shareholder": {
      "affected_rows": 123,
      "returning": [shareholder]
    }
  }
}

delete_shareholder_by_pk

delete single row from the table: "shareholder"
Returns a shareholder

Name Description
id - Int!

Example

Query
mutation delete_shareholder_by_pk($id: Int!) {
  delete_shareholder_by_pk(id: $id) {
    holder {
      ...walletsFragment
    }
    holder_id
    holder_type
    id
    shares
    split_contract {
      ...split_contractFragment
    }
    split_contract_id
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "delete_shareholder_by_pk": {
      "holder": wallets,
      "holder_id": 987,
      "holder_type": "abc123",
      "id": 987,
      "shares": bigint,
      "split_contract": split_contract,
      "split_contract_id": 987
    }
  }
}

delete_split_contract

delete data from the table: "split_contract"
Returns a split_contract_mutation_response

Name Description
where - split_contract_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_split_contract($where: split_contract_bool_exp!) {
  delete_split_contract(where: $where) {
    affected_rows
    returning {
      ...split_contractFragment
    }
  }
}
Variables
{"where": split_contract_bool_exp}
Response
{
  "data": {
    "delete_split_contract": {
      "affected_rows": 987,
      "returning": [split_contract]
    }
  }
}

delete_split_contract_by_pk

delete single row from the table: "split_contract"
Returns a split_contract

Name Description
id - Int!

Example

Query
mutation delete_split_contract_by_pk($id: Int!) {
  delete_split_contract_by_pk(id: $id) {
    administrator
    contract {
      ...walletsFragment
    }
    contract_id
    id
    shareholder {
      ...shareholderFragment
    }
    shareholder_aggregate {
      ...shareholder_aggregateFragment
    }
    total_shares
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "delete_split_contract_by_pk": {
      "administrator": "xyz789",
      "contract": wallets,
      "contract_id": 987,
      "id": 123,
      "shareholder": [shareholder],
      "shareholder_aggregate": shareholder_aggregate,
      "total_shares": bigint
    }
  }
}

delete_split_signatures

delete data from the table: "split_signatures"
Returns a split_signatures_mutation_response

Name Description
where - split_signatures_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_split_signatures($where: split_signatures_bool_exp!) {
  delete_split_signatures(where: $where) {
    affected_rows
    returning {
      ...split_signaturesFragment
    }
  }
}
Variables
{"where": split_signatures_bool_exp}
Response
{
  "data": {
    "delete_split_signatures": {
      "affected_rows": 987,
      "returning": [split_signatures]
    }
  }
}

delete_split_signatures_by_pk

delete single row from the table: "split_signatures"
Returns a split_signatures

Name Description
id - Int!

Example

Query
mutation delete_split_signatures_by_pk($id: Int!) {
  delete_split_signatures_by_pk(id: $id) {
    holder {
      ...walletsFragment
    }
    holder_id
    id
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "delete_split_signatures_by_pk": {
      "holder": wallets,
      "holder_id": 123,
      "id": 123,
      "token": tokens,
      "token_id": 987
    }
  }
}

delete_swap

delete data from the table: "swap"
Returns a swap_mutation_response

Name Description
where - swap_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_swap($where: swap_bool_exp!) {
  delete_swap(where: $where) {
    affected_rows
    returning {
      ...swapFragment
    }
  }
}
Variables
{"where": swap_bool_exp}
Response
{
  "data": {
    "delete_swap": {
      "affected_rows": 123,
      "returning": [swap]
    }
  }
}

delete_swap_by_pk

delete single row from the table: "swap"
Returns a swap

Name Description
id - bigint!

Example

Query
mutation delete_swap_by_pk($id: bigint!) {
  delete_swap_by_pk(id: $id) {
    amount
    amount_left
    contract_version
    creator {
      ...walletsFragment
    }
    creator_id
    id
    is_valid
    level
    ophash
    price
    royalties
    status
    timestamp
    token {
      ...tokensFragment
    }
    token_id
    trade {
      ...tradeFragment
    }
    trade_aggregate {
      ...trade_aggregateFragment
    }
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "delete_swap_by_pk": {
      "amount": smallint,
      "amount_left": smallint,
      "contract_version": smallint,
      "creator": wallets,
      "creator_id": 123,
      "id": bigint,
      "is_valid": true,
      "level": bigint,
      "ophash": "abc123",
      "price": bigint,
      "royalties": smallint,
      "status": smallint,
      "timestamp": timestamptz,
      "token": tokens,
      "token_id": 987,
      "trade": [trade],
      "trade_aggregate": trade_aggregate
    }
  }
}

delete_tags

delete data from the table: "tags"
Returns a tags_mutation_response

Name Description
where - tags_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_tags($where: tags_bool_exp!) {
  delete_tags(where: $where) {
    affected_rows
    returning {
      ...tagsFragment
    }
  }
}
Variables
{"where": tags_bool_exp}
Response
{
  "data": {
    "delete_tags": {
      "affected_rows": 123,
      "returning": [tags]
    }
  }
}

delete_tags_by_pk

delete single row from the table: "tags"
Returns a tags

Name Description
id - bigint!

Example

Query
mutation delete_tags_by_pk($id: bigint!) {
  delete_tags_by_pk(id: $id) {
    id
    tag
    tag_tokens {
      ...token_tagFragment
    }
    tag_tokens_aggregate {
      ...token_tag_aggregateFragment
    }
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "delete_tags_by_pk": {
      "id": bigint,
      "tag": "xyz789",
      "tag_tokens": [token_tag],
      "tag_tokens_aggregate": token_tag_aggregate
    }
  }
}

delete_token_balances

delete data from the table: "token_balances"
Returns a token_balances_mutation_response

Name Description
where - token_balances_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_token_balances($where: token_balances_bool_exp!) {
  delete_token_balances(where: $where) {
    affected_rows
    returning {
      ...token_balancesFragment
    }
  }
}
Variables
{"where": token_balances_bool_exp}
Response
{
  "data": {
    "delete_token_balances": {
      "affected_rows": 123,
      "returning": [token_balances]
    }
  }
}

delete_token_balances_by_pk

delete single row from the table: "token_balances"
Returns a token_balances

Name Description
id - Int!

Example

Query
mutation delete_token_balances_by_pk($id: Int!) {
  delete_token_balances_by_pk(id: $id) {
    _token_id
    collection_id
    holder {
      ...walletsFragment
    }
    holder_id
    id
    minter_contract
    quantity
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "delete_token_balances_by_pk": {
      "_token_id": "abc123",
      "collection_id": "xyz789",
      "holder": wallets,
      "holder_id": 123,
      "id": 987,
      "minter_contract": "abc123",
      "quantity": bigint,
      "token": tokens,
      "token_id": 987
    }
  }
}

delete_token_holder

delete data from the table: "token_holder"
Returns a token_holder_mutation_response

Name Description
where - token_holder_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_token_holder($where: token_holder_bool_exp!) {
  delete_token_holder(where: $where) {
    affected_rows
    returning {
      ...token_holderFragment
    }
  }
}
Variables
{"where": token_holder_bool_exp}
Response
{
  "data": {
    "delete_token_holder": {
      "affected_rows": 987,
      "returning": [token_holder]
    }
  }
}

delete_token_holder_by_pk

delete single row from the table: "token_holder"
Returns a token_holder

Name Description
id - Int!

Example

Query
mutation delete_token_holder_by_pk($id: Int!) {
  delete_token_holder_by_pk(id: $id) {
    holder {
      ...walletsFragment
    }
    holder_id
    id
    quantity
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "delete_token_holder_by_pk": {
      "holder": wallets,
      "holder_id": 123,
      "id": 987,
      "quantity": bigint,
      "token": tokens,
      "token_id": 123
    }
  }
}

delete_token_metadatas

delete data from the table: "token_metadatas"
Returns a token_metadatas_mutation_response

Name Description
where - token_metadatas_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_token_metadatas($where: token_metadatas_bool_exp!) {
  delete_token_metadatas(where: $where) {
    affected_rows
    returning {
      ...token_metadatasFragment
    }
  }
}
Variables
{"where": token_metadatas_bool_exp}
Response
{
  "data": {
    "delete_token_metadatas": {
      "affected_rows": 123,
      "returning": [token_metadatas]
    }
  }
}

delete_token_metadatas_by_pk

delete single row from the table: "token_metadatas"
Returns a token_metadatas

Name Description
metadata_uri - String!

Example

Query
mutation delete_token_metadatas_by_pk($metadata_uri: String!) {
  delete_token_metadatas_by_pk(metadata_uri: $metadata_uri) {
    artifact_uri
    asset_hash
    description
    display_uri
    extra
    json_dump
    metadata_uri
    mime_type
    status
    thumbnail_uri
    title
    tokens {
      ...tokensFragment
    }
    tokens_aggregate {
      ...tokens_aggregateFragment
    }
  }
}
Variables
{"metadata_uri": "xyz789"}
Response
{
  "data": {
    "delete_token_metadatas_by_pk": {
      "artifact_uri": "abc123",
      "asset_hash": "xyz789",
      "description": "xyz789",
      "display_uri": "xyz789",
      "extra": jsonb,
      "json_dump": "abc123",
      "metadata_uri": "xyz789",
      "mime_type": "xyz789",
      "status": "abc123",
      "thumbnail_uri": "abc123",
      "title": "abc123",
      "tokens": [tokens],
      "tokens_aggregate": tokens_aggregate
    }
  }
}

delete_token_operator

delete data from the table: "token_operator"
Returns a token_operator_mutation_response

Name Description
where - token_operator_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_token_operator($where: token_operator_bool_exp!) {
  delete_token_operator(where: $where) {
    affected_rows
    returning {
      ...token_operatorFragment
    }
  }
}
Variables
{"where": token_operator_bool_exp}
Response
{
  "data": {
    "delete_token_operator": {
      "affected_rows": 123,
      "returning": [token_operator]
    }
  }
}

delete_token_operator_by_pk

delete single row from the table: "token_operator"
Returns a token_operator

Name Description
id - Int!

Example

Query
mutation delete_token_operator_by_pk($id: Int!) {
  delete_token_operator_by_pk(id: $id) {
    id
    level
    operator
    owner {
      ...walletsFragment
    }
    owner_id
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "delete_token_operator_by_pk": {
      "id": 123,
      "level": bigint,
      "operator": "xyz789",
      "owner": wallets,
      "owner_id": 123,
      "token": tokens,
      "token_id": 987
    }
  }
}

delete_token_tag

delete data from the table: "token_tag"
Returns a token_tag_mutation_response

Name Description
where - token_tag_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_token_tag($where: token_tag_bool_exp!) {
  delete_token_tag(where: $where) {
    affected_rows
    returning {
      ...token_tagFragment
    }
  }
}
Variables
{"where": token_tag_bool_exp}
Response
{
  "data": {
    "delete_token_tag": {
      "affected_rows": 987,
      "returning": [token_tag]
    }
  }
}

delete_token_tag_by_pk

delete single row from the table: "token_tag"
Returns a token_tag

Name Description
id - Int!

Example

Query
mutation delete_token_tag_by_pk($id: Int!) {
  delete_token_tag_by_pk(id: $id) {
    id
    tag {
      ...tagsFragment
    }
    tag_id
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "delete_token_tag_by_pk": {
      "id": 123,
      "tag": tags,
      "tag_id": bigint,
      "token": tokens,
      "token_id": 123
    }
  }
}

delete_tokens

delete data from the table: "tokens"
Returns a tokens_mutation_response

Name Description
where - tokens_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_tokens($where: tokens_bool_exp!) {
  delete_tokens(where: $where) {
    affected_rows
    returning {
      ...tokensFragment
    }
  }
}
Variables
{"where": tokens_bool_exp}
Response
{
  "data": {
    "delete_tokens": {
      "affected_rows": 987,
      "returning": [tokens]
    }
  }
}

delete_tokens_by_pk

delete single row from the table: "tokens"
Returns a tokens

Name Description
id - Int!

Example

Query
mutation delete_tokens_by_pk($id: Int!) {
  delete_tokens_by_pk(id: $id) {
    asset_hash
    auctions {
      ...auctionsFragment
    }
    auctions_aggregate {
      ...auctions_aggregateFragment
    }
    collection_id
    creator {
      ...walletsFragment
    }
    creator_id
    hdao_balance
    holders {
      ...token_balancesFragment
    }
    holders_aggregate {
      ...token_balances_aggregateFragment
    }
    id
    is_signed
    level
    listing {
      ...listingsFragment
    }
    listing_aggregate {
      ...listings_aggregateFragment
    }
    metadata {
      ...token_metadatasFragment
    }
    metadata_id
    minter_contract
    operators {
      ...token_operatorFragment
    }
    operators_aggregate {
      ...token_operator_aggregateFragment
    }
    royalties
    supply
    swaps {
      ...swapFragment
    }
    swaps_aggregate {
      ...swap_aggregateFragment
    }
    timestamp
    token_holders {
      ...token_holderFragment
    }
    token_holders_aggregate {
      ...token_holder_aggregateFragment
    }
    token_id
    token_signatures {
      ...split_signaturesFragment
    }
    token_signatures_aggregate {
      ...split_signatures_aggregateFragment
    }
    token_tags {
      ...token_tagFragment
    }
    token_tags_aggregate {
      ...token_tag_aggregateFragment
    }
    trade {
      ...tradeFragment
    }
    trade_aggregate {
      ...trade_aggregateFragment
    }
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "delete_tokens_by_pk": {
      "asset_hash": "abc123",
      "auctions": [auctions],
      "auctions_aggregate": auctions_aggregate,
      "collection_id": "abc123",
      "creator": wallets,
      "creator_id": 987,
      "hdao_balance": bigint,
      "holders": [token_balances],
      "holders_aggregate": token_balances_aggregate,
      "id": 123,
      "is_signed": false,
      "level": bigint,
      "listing": [listings],
      "listing_aggregate": listings_aggregate,
      "metadata": token_metadatas,
      "metadata_id": "abc123",
      "minter_contract": "abc123",
      "operators": [token_operator],
      "operators_aggregate": token_operator_aggregate,
      "royalties": smallint,
      "supply": smallint,
      "swaps": [swap],
      "swaps_aggregate": swap_aggregate,
      "timestamp": timestamptz,
      "token_holders": [token_holder],
      "token_holders_aggregate": token_holder_aggregate,
      "token_id": "xyz789",
      "token_signatures": [split_signatures],
      "token_signatures_aggregate": split_signatures_aggregate,
      "token_tags": [token_tag],
      "token_tags_aggregate": token_tag_aggregate,
      "trade": [trade],
      "trade_aggregate": trade_aggregate
    }
  }
}

delete_trade

delete data from the table: "trade"
Returns a trade_mutation_response

Name Description
where - trade_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_trade($where: trade_bool_exp!) {
  delete_trade(where: $where) {
    affected_rows
    returning {
      ...tradeFragment
    }
  }
}
Variables
{"where": trade_bool_exp}
Response
{
  "data": {
    "delete_trade": {
      "affected_rows": 123,
      "returning": [trade]
    }
  }
}

delete_trade_by_pk

delete single row from the table: "trade"
Returns a trade

Name Description
id - bigint!

Example

Query
mutation delete_trade_by_pk($id: bigint!) {
  delete_trade_by_pk(id: $id) {
    amount
    buyer {
      ...walletsFragment
    }
    buyer_id
    id
    level
    ophash
    seller {
      ...walletsFragment
    }
    seller_id
    swap {
      ...swapFragment
    }
    swap_id
    timestamp
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{"id": bigint}
Response
{
  "data": {
    "delete_trade_by_pk": {
      "amount": bigint,
      "buyer": wallets,
      "buyer_id": 987,
      "id": bigint,
      "level": bigint,
      "ophash": "abc123",
      "seller": wallets,
      "seller_id": 123,
      "swap": swap,
      "swap_id": bigint,
      "timestamp": timestamptz,
      "token": tokens,
      "token_id": 123
    }
  }
}

delete_trades

delete data from the table: "trades"
Returns a trades_mutation_response

Name Description
where - trades_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_trades($where: trades_bool_exp!) {
  delete_trades(where: $where) {
    affected_rows
    returning {
      ...tradesFragment
    }
  }
}
Variables
{"where": trades_bool_exp}
Response
{
  "data": {
    "delete_trades": {
      "affected_rows": 987,
      "returning": [trades]
    }
  }
}

delete_trades_by_pk

delete single row from the table: "trades"
Returns a trades

Name Description
id - Int!

Example

Query
mutation delete_trades_by_pk($id: Int!) {
  delete_trades_by_pk(id: $id) {
    _token_uuid
    buyer {
      ...walletsFragment
    }
    buyer_id
    id
    level
    listing {
      ...listingsFragment
    }
    listing_id
    market_place
    market_place_contract
    price
    quantity
    seller {
      ...walletsFragment
    }
    seller_id
    timestamp
    trade_type
  }
}
Variables
{"id": 123}
Response
{
  "data": {
    "delete_trades_by_pk": {
      "_token_uuid": "abc123",
      "buyer": wallets,
      "buyer_id": 987,
      "id": 987,
      "level": bigint,
      "listing": listings,
      "listing_id": 123,
      "market_place": "abc123",
      "market_place_contract": "abc123",
      "price": bigint,
      "quantity": bigint,
      "seller": wallets,
      "seller_id": 987,
      "timestamp": timestamptz,
      "trade_type": "abc123"
    }
  }
}

delete_wallets

delete data from the table: "wallets"
Returns a wallets_mutation_response

Name Description
where - wallets_bool_exp! filter the rows which have to be deleted

Example

Query
mutation delete_wallets($where: wallets_bool_exp!) {
  delete_wallets(where: $where) {
    affected_rows
    returning {
      ...walletsFragment
    }
  }
}
Variables
{"where": wallets_bool_exp}
Response
{
  "data": {
    "delete_wallets": {
      "affected_rows": 123,
      "returning": [wallets]
    }
  }
}

delete_wallets_by_pk

delete single row from the table: "wallets"
Returns a wallets

Name Description
id - Int!

Example

Query
mutation delete_wallets_by_pk($id: Int!) {
  delete_wallets_by_pk(id: $id) {
    address
    asks {
      ...askFragment
    }
    asks_aggregate {
      ...ask_aggregateFragment
    }
    auctions {
      ...auctionsFragment
    }
    auctions_aggregate {
      ...auctions_aggregateFragment
    }
    bids {
      ...bidsFragment
    }
    bids_aggregate {
      ...bids_aggregateFragment
    }
    bought_asks {
      ...fulfilled_askFragment
    }
    bought_asks_aggregate {
      ...fulfilled_ask_aggregateFragment
    }
    buyer {
      ...tradesFragment
    }
    buyer_aggregate {
      ...trades_aggregateFragment
    }
    created_dutch_auctions {
      ...dutch_auctionFragment
    }
    created_dutch_auctions_aggregate {
      ...dutch_auction_aggregateFragment
    }
    created_english_auctions {
      ...english_auctionFragment
    }
    created_english_auctions_aggregate {
      ...english_auction_aggregateFragment
    }
    creator {
      ...tokensFragment
    }
    creator_aggregate {
      ...tokens_aggregateFragment
    }
    description
    english_bids {
      ...english_bidFragment
    }
    english_bids_aggregate {
      ...english_bid_aggregateFragment
    }
    hdao_balance
    hen_bids {
      ...bidFragment
    }
    hen_bids_aggregate {
      ...bid_aggregateFragment
    }
    holder_signatures {
      ...split_signaturesFragment
    }
    holder_signatures_aggregate {
      ...split_signatures_aggregateFragment
    }
    holders_token {
      ...token_holderFragment
    }
    holders_token_aggregate {
      ...token_holder_aggregateFragment
    }
    id
    is_split
    metadata
    metadata_file
    name
    owner {
      ...token_operatorFragment
    }
    owner_aggregate {
      ...token_operator_aggregateFragment
    }
    purchases {
      ...tradeFragment
    }
    purchases_aggregate {
      ...trade_aggregateFragment
    }
    sales {
      ...tradeFragment
    }
    sales_aggregate {
      ...trade_aggregateFragment
    }
    seller {
      ...tradesFragment
    }
    seller_aggregate {
      ...trades_aggregateFragment
    }
    shareholder {
      ...shareholderFragment
    }
    shareholder_aggregate {
      ...shareholder_aggregateFragment
    }
    shares {
      ...split_contractFragment
    }
    shares_aggregate {
      ...split_contract_aggregateFragment
    }
    sold_asks {
      ...fulfilled_askFragment
    }
    sold_asks_aggregate {
      ...fulfilled_ask_aggregateFragment
    }
    sold_bids {
      ...bidFragment
    }
    sold_bids_aggregate {
      ...bid_aggregateFragment
    }
    starring_asks {
      ...askFragment
    }
    starring_asks_aggregate {
      ...ask_aggregateFragment
    }
    starring_bids {
      ...bidFragment
    }
    starring_bids_aggregate {
      ...bid_aggregateFragment
    }
    starring_dutch_auctions {
      ...dutch_auctionFragment
    }
    starring_dutch_auctions_aggregate {
      ...dutch_auction_aggregateFragment
    }
    starring_english_auctions {
      ...english_auctionFragment
    }
    starring_english_auctions_aggregate {
      ...english_auction_aggregateFragment
    }
    swaps {
      ...swapFragment
    }
    swaps_aggregate {
      ...swap_aggregateFragment
    }
    token_balances {
      ...token_balancesFragment
    }
    token_balances_aggregate {
      ...token_balances_aggregateFragment
    }
    token_listings {
      ...listingsFragment
    }
    token_listings_aggregate {
      ...listings_aggregateFragment
    }
    won_dutch_auctions {
      ...dutch_auctionFragment
    }
    won_dutch_auctions_aggregate {
      ...dutch_auction_aggregateFragment
    }
  }
}
Variables
{"id": 987}
Response
{
  "data": {
    "delete_wallets_by_pk": {
      "address": "xyz789",
      "asks": [ask],
      "asks_aggregate": ask_aggregate,
      "auctions": [auctions],
      "auctions_aggregate": auctions_aggregate,
      "bids": [bids],
      "bids_aggregate": bids_aggregate,
      "bought_asks": [fulfilled_ask],
      "bought_asks_aggregate": fulfilled_ask_aggregate,
      "buyer": [trades],
      "buyer_aggregate": trades_aggregate,
      "created_dutch_auctions": [dutch_auction],
      "created_dutch_auctions_aggregate": dutch_auction_aggregate,
      "created_english_auctions": [english_auction],
      "created_english_auctions_aggregate": english_auction_aggregate,
      "creator": [tokens],
      "creator_aggregate": tokens_aggregate,
      "description": "xyz789",
      "english_bids": [english_bid],
      "english_bids_aggregate": english_bid_aggregate,
      "hdao_balance": bigint,
      "hen_bids": [bid],
      "hen_bids_aggregate": bid_aggregate,
      "holder_signatures": [split_signatures],
      "holder_signatures_aggregate": split_signatures_aggregate,
      "holders_token": [token_holder],
      "holders_token_aggregate": token_holder_aggregate,
      "id": 987,
      "is_split": false,
      "metadata": jsonb,
      "metadata_file": "abc123",
      "name": "xyz789",
      "owner": [token_operator],
      "owner_aggregate": token_operator_aggregate,
      "purchases": [trade],
      "purchases_aggregate": trade_aggregate,
      "sales": [trade],
      "sales_aggregate": trade_aggregate,
      "seller": [trades],
      "seller_aggregate": trades_aggregate,
      "shareholder": [shareholder],
      "shareholder_aggregate": shareholder_aggregate,
      "shares": [split_contract],
      "shares_aggregate": split_contract_aggregate,
      "sold_asks": [fulfilled_ask],
      "sold_asks_aggregate": fulfilled_ask_aggregate,
      "sold_bids": [bid],
      "sold_bids_aggregate": bid_aggregate,
      "starring_asks": [ask],
      "starring_asks_aggregate": ask_aggregate,
      "starring_bids": [bid],
      "starring_bids_aggregate": bid_aggregate,
      "starring_dutch_auctions": [dutch_auction],
      "starring_dutch_auctions_aggregate": dutch_auction_aggregate,
      "starring_english_auctions": [english_auction],
      "starring_english_auctions_aggregate": english_auction_aggregate,
      "swaps": [swap],
      "swaps_aggregate": swap_aggregate,
      "token_balances": [token_balances],
      "token_balances_aggregate": token_balances_aggregate,
      "token_listings": [listings],
      "token_listings_aggregate": listings_aggregate,
      "won_dutch_auctions": [dutch_auction],
      "won_dutch_auctions_aggregate": dutch_auction_aggregate
    }
  }
}

insert__fa2

insert data into the table: "FA2"
Returns a FA2_mutation_response

Name Description
objects - [FA2_insert_input!]! the rows to be inserted
on_conflict - FA2_on_conflict on conflict condition

Example

Query
mutation insert__fa2($objects: [FA2_insert_input!]!, $on_conflict: FA2_on_conflict) {
  insert__fa2(objects: $objects, on_conflict: $on_conflict) {
    affected_rows
    returning {
      ...FA2Fragment
    }
  }
}
Variables
{
  "objects": [FA2_insert_input],
  "on_conflict": FA2_on_conflict
}
Response
{
  "data": {
    "insert__fa2": {
      "affected_rows": 123,
      "returning": [FA2]
    }
  }
}

insert__fa2__one

insert a single row into the table: "FA2"
Returns a FA2

Name Description
object - FA2_insert_input! the row to be inserted
on_conflict - FA2_on_conflict on conflict condition

Example

Query
mutation insert__fa2__one($object: FA2_insert_input!, $on_conflict: FA2_on_conflict) {
  insert__fa2__one(object: $object, on_conflict: $on_conflict) {
    asks {
      ...askFragment
    }
    asks_aggregate {
      ...ask_aggregateFragment
    }
    bids {
      ...bidFragment
    }
    bids_aggregate {
      ...bid_aggregateFragment
    }
    contract
    dutch_auctions {
      ...dutch_auctionFragment
    }
    dutch_auctions_aggregate {
      ...dutch_auction_aggregateFragment
    }
    english_auctions {
      ...english_auctionFragment
    }
    english_auctions_aggregate {
      ...english_auction_aggregateFragment
    }
  }
}
Variables
{
  "object": FA2_insert_input,
  "on_conflict": FA2_on_conflict
}
Response
{
  "data": {
    "insert__fa2__one": {
      "asks": [ask],
      "asks_aggregate": ask_aggregate,
      "bids": [bid],
      "bids_aggregate": bid_aggregate,
      "contract": "xyz789",
      "dutch_auctions": [dutch_auction],
      "dutch_auctions_aggregate": dutch_auction_aggregate,
      "english_auctions": [english_auction],
      "english_auctions_aggregate": english_auction_aggregate
    }
  }
}

insert_ask

insert data into the table: "ask"
Returns an ask_mutation_response

Name Description
objects - [ask_insert_input!]! the rows to be inserted
on_conflict - ask_on_conflict on conflict condition

Example

Query
mutation insert_ask($objects: [ask_insert_input!]!, $on_conflict: ask_on_conflict) {
  insert_ask(objects: $objects, on_conflict: $on_conflict) {
    affected_rows
    returning {
      ...askFragment
    }
  }
}
Variables
{
  "objects": [ask_insert_input],
  "on_conflict": ask_on_conflict
}
Response
{
  "data": {
    "insert_ask": {
      "affected_rows": 123,
      "returning": [ask]
    }
  }
}

insert_ask_one

insert a single row into the table: "ask"
Returns an ask

Name Description
object - ask_insert_input! the row to be inserted
on_conflict - ask_on_conflict on conflict condition

Example

Query
mutation insert_ask_one($object: ask_insert_input!, $on_conflict: ask_on_conflict) {
  insert_ask_one(object: $object, on_conflict: $on_conflict) {
    amount
    amount_left
    artist {
      ...walletsFragment
    }
    artist_id
    creator {
      ...walletsFragment
    }
    creator_id
    fa2 {
      ...FA2Fragment
    }
    fa2_id
    fulfilled {
      ...fulfilled_askFragment
    }
    fulfilled_aggregate {
      ...fulfilled_ask_aggregateFragment
    }
    id
    level
    objkt_id
    price
    royalties
    status
    timestamp
    update_level
    update_timestamp
  }
}
Variables
{
  "object": ask_insert_input,
  "on_conflict": ask_on_conflict
}
Response
{
  "data": {
    "insert_ask_one": {
      "amount": bigint,
      "amount_left": bigint,
      "artist": wallets,
      "artist_id": 987,
      "creator": wallets,
      "creator_id": 123,
      "fa2": FA2,
      "fa2_id": "xyz789",
      "fulfilled": [fulfilled_ask],
      "fulfilled_aggregate": fulfilled_ask_aggregate,
      "id": bigint,
      "level": bigint,
      "objkt_id": bigint,
      "price": bigint,
      "royalties": bigint,
      "status": "xyz789",
      "timestamp": timestamptz,
      "update_level": bigint,
      "update_timestamp": timestamptz
    }
  }
}

insert_auctions

insert data into the table: "auctions"
Returns an auctions_mutation_response

Name Description
objects - [auctions_insert_input!]! the rows to be inserted
on_conflict - auctions_on_conflict on conflict condition

Example

Query
mutation insert_auctions($objects: [auctions_insert_input!]!, $on_conflict: auctions_on_conflict) {
  insert_auctions(objects: $objects, on_conflict: $on_conflict) {
    affected_rows
    returning {
      ...auctionsFragment
    }
  }
}
Variables
{
  "objects": [auctions_insert_input],
  "on_conflict": auctions_on_conflict
}
Response
{
  "data": {
    "insert_auctions": {
      "affected_rows": 123,
      "returning": [auctions]
    }
  }
}

insert_auctions_one

insert a single row into the table: "auctions"
Returns an auctions

Name Description
object - auctions_insert_input! the row to be inserted
on_conflict - auctions_on_conflict on conflict condition

Example

Query
mutation insert_auctions_one($object: auctions_insert_input!, $on_conflict: auctions_on_conflict) {
  insert_auctions_one(object: $object, on_conflict: $on_conflict) {
    _token_id
    auction_contract
    bids {
      ...bidsFragment
    }
    bids_aggregate {
      ...bids_aggregateFragment
    }
    creator {
      ...walletsFragment
    }
    creator_id
    highest_bid_address
    id
    level
    reserve_price
    sold_at
    status
    token {
      ...tokensFragment
    }
    token_id
  }
}
Variables
{
  "object": auctions_insert_input,
  "on_conflict": auctions_on_conflict
}
Response
{
  "data": {
    "insert_auctions_one": {
      "_token_id": "xyz789",
      "auction_contract": "abc123",
      "bids": [bids],
      "bids_aggregate": bids_aggregate,
      "creator": wallets,
      "creator_id": 123,
      "highest_bid_address": "xyz789",
      "id": 123,
      "level": bigint,
      "reserve_price": bigint,
      "sold_at": bigint,
      "status": "abc123",
      "token": tokens,
      "token_id": 123
    }
  }
}

insert_bid

insert data into the table: "bid"
Returns a bid_mutation_response

Name Description
objects - [bid_insert_input!]! the rows to be inserted
on_conflict - bid_on_conflict on conflict condition

Example

Query
mutation insert_bid($objects: [bid_insert_input!]!, $on_conflict: bid_on_conflict) {
  insert_bid(objects: $objects, on_conflict: $on_conflict) {
    affected_rows
    returning {
      ...bidFragment
    }
  }
}
Variables
{
  "objects": [bid_insert_input],
  "on_conflict": bid_on_conflict
}
Response
{
  "data": {
    "insert_bid": {
      "affected_rows": 123,
      "returning": [bid]
    }
  }
}

insert_bid_one

insert a single row into the table: "bid"
Returns a bid

Name Description
object - bid_insert_input! the row to be inserted
on_conflict - bid_on_conflict on conflict condition

Example

Query
mutation insert_bid_one($object: bid_insert_input!, $on_conflict: bid_on_conflict) {
  insert_bid_one(object: $object, on_conflict: $on_conflict) {
    artist {
      ...walletsFragment
    }
    artist_id
    creator {
      ...walletsFragment
    }
    creator_id
    fa2 {
      ...FA2Fragment
    }
    fa2_id
    id
    level
    objkt_id
    price
    royalties
    seller {
      ...walletsFragment
    }
    seller_id
    status
    timestamp
    update_level
    update_timestamp
  }
}
Variables
{
  "object": bid_insert_input,
  "on_conflict": bid_on_conflict
}
Response
{
  "data": {
    "insert_bid_one": {
      "artist": wallets,
      "artist_id": 123,
      "creator": wallets,
      "creator_id": 987,
      "fa2": FA2,
      "fa2_id": "abc123",
      "id": bigint,
      "level": bigint,
      "objkt_id": bigint,
      "price": bigint,
      "royalties": bigint,
      "seller": wallets,
      "seller_id": 123,
      "status": "abc123",
      "timestamp": timestamptz,
      "update_level": bigint,
      "update_timestamp": timestamptz
    }
  }
}

insert_bids

insert data into the table: "bids"
Returns a bids_mutation_response

Name Description
objects - [bids_insert_input!]! the rows to be inserted
on_conflict - bids_on_conflict on conflict condition

Example

Query
mutation insert_bids($objects: [bids_insert_input!]!, $on_conflict: bids_on_conflict) {
  insert_bids(objects: $objects, on_conflict: $on_conflict) {
    affected_rows
    returning {
      ...bidsFragment
    }
  }
}
Variables
{
  "objects": [bids_insert_input],
  "on_conflict": bids_on_conflict
}
Response
{
  "data": {
    "insert_bids": {
      "affected_rows": 123,
      "returning": [bids]
    }
  }
}

insert_bids_one

insert a single row into the table: "bids"
Returns a bids

Name Description
object - bids_insert_input! the row to be inserted
on_conflict - bids_on_conflict on conflict condition

Example

Query
mutation insert_bids_one($object: bids_insert_input!, $on_conflict: bids_on_conflict) {
  insert_bids_one(object: $object, on_conflict: $on_conflict) {
    _token_id
    auction {
      ...auctionsFragment
    }
    auction_id
    bidder {
      ...walletsFragment
    }
    bidder_id
    id
    is_winner
    level
    price
  }
}
Variables
{
  "object": bids_insert_input,
  "on_conflict": bids_on_conflict
}
Response
{
  "data": {
    "insert_bids_one": {
      "_token_id": "abc123",
      "auction": auctions,
      "auction_id": 123,
      "bidder": wallets,
      "bidder_id": 987,
      "id": 987,
      "is_winner": true,
      "level": bigint,
      "price": bigint
    }
  }
}

insert_dipdup_contract

insert data into the table: "dipdup_contract"
Returns a dipdup_contract_mutation_response

Name Description
objects - [dipdup_contract_insert_input!]! the rows to be inserted
on_conflict - dipdup_contract_on_conflict on conflict condition

Example

Query
mutation insert_dipdup_contract($objects: [dipdup_contract_insert_input!]!, $on_conflict: dipdup_contract_on_conflict) {
  insert_dipdup_contract(objects: $objects, on_conflict: $on_conflict) {
    affected_rows
    returning {
      ...dipdup_contractFragment
    }
  }
}
Variables
{
  "objects": [dipdup_contract_insert_input],
  "on_conflict": dipdup_contract_on_conflict
}
Response
{
  "data": {
    "insert_dipdup_contract": {
      "affected_rows": 123,
      "returning": [dipdup_contract]
    }
  }
}

insert_dipdup_contract_one

insert a single row into the table: "dipdup_contract"
Returns a dipdup_contract

Name Description
object - dipdup_contract_insert_input! the row to be inserted
on_conflict - dipdup_contract_on_conflict on conflict condition

Example

Query
mutation insert_dipdup_contract_one($object: dipdup_contract_insert_input!, $on_conflict: dipdup_contract_on_conflict) {
  insert_dipdup_contract_one(object: $object, on_conflict: $on_conflict) {
    address
    created_at
    name
    typename
    updated_at
  }
}
Variables
{
  "object": dipdup_contract_insert_input,
  "on_conflict": dipdup_contract_on_conflict
}
Response
{
  "data": {
    "insert_dipdup_contract_one": {
      "address": "xyz789",
      "created_at": timestamptz,
      "name": "xyz789",
      "typename": "abc123",
      "updated_at": timestamptz
    }
  }
}

insert_dipdup_head

insert data into the table: "dipdup_head"
Returns a dipdup_head_mutation_response

Name Description
objects - [dipdup_head_insert_input!]! the rows to be inserted
on_conflict - dipdup_head_on_conflict on conflict condition

Example

Query
mutation insert_dipdup_head($objects: [dipdup_head_insert_input!]!, $on_conflict: dipdup_head_on_conflict) {
  insert_dipdup_head(objects: $objects, on_conflict: $on_conflict) {
    affected_rows
    returning {
      ...dipdup_headFragment
    }
  }
}
Variables
{
  "objects": [dipdup_head_insert_input],
  "on_conflict": dipdup_head_on_conflict
}
Response
{
  "data": {
    "insert_dipdup_head": {
      "affected_rows": 123,
      "returning": [dipdup_head]
    }
  }
}

insert_dipdup_head_one

insert a single row into the table: "dipdup_head"
Returns a dipdup_head

Name Description
object - dipdup_head_insert_input! the row to be inserted
on_conflict - dipdup_head_on_conflict on conflict condition

Example

Query
mutation insert_dipdup_head_one($object: dipdup_head_insert_input!, $on_conflict: dipdup_head_on_conflict) {
  insert_dipdup_head_one(object: $object, on_conflict: $on_conflict) {
    created_at
    hash
    level
    name
    timestamp
    updated_at
  }
}
Variables
{
  "object": dipdup_head_insert_input,
  "on_conflict": dipdup_head_on_conflict
}
Response
{
  "data": {
    "insert_dipdup_head_one": {
      "created_at": timestamptz,
      "hash": "xyz789",
      "level": 123,
      "name": "xyz789",
      "timestamp": timestamptz,
      "updated_at": timestamptz
    }
  }
}

insert_dipdup_index

insert data into the table: "dipdup_index"
Returns a dipdup_index_mutation_response

Name Description
objects - [dipdup_index_insert_input!]! the rows to be inserted
on_conflict - dipdup_index_on_conflict on conflict condition

Example

Query
mutation insert_dipdup_index($objects: [dipdup_index_insert_input!]!, $on_conflict: dipdup_index_on_conflict) {
  insert_dipdup_index(objects: $objects, on_conflict: $on_conflict) {
    affected_rows
    returning {
      ...dipdup_indexFragment
    }
  }
}
Variables
{
  "objects": [dipdup_index_insert_input],
  "on_conflict": dipdup_index_on_conflict
}
Response
{
  "data": {
    "insert_dipdup_index": {
      "affected_rows": 123,
      "returning": [dipdup_index]
    }
  }
}

insert_dipdup_index_one

insert a single row into the table: "dipdup_index"
Returns a dipdup_index

Name Description
object - dipdup_index_insert_input! the row to be inserted
on_conflict - dipdup_index_on_conflict on conflict condition

Example

Query
mutation insert_dipdup_index_one($object: dipdup_index_insert_input!, $on_conflict: dipdup_index_on_conflict) {
  insert_dipdup_index_one(object: $object, on_conflict: $on_conflict) {
    config_hash
    created_at
    level
    name
    status
    template
    template_values
    type
    updated_at
  }
}
Variables
{
  "object": dipdup_index_insert_input,
  "on_conflict": dipdup_index_on_conflict
}
Response
{
  "data": {
    "insert_dipdup_index_one": {
      "config_hash": "xyz789",
      "created_at": timestamptz,
      "level": 987,
      "name": "xyz789",
      "status": "xyz789",
      "template": "abc123",
      "template_values": jsonb,
      "type": "abc123",
      "updated_at": timestamptz
    }
  }
}

insert_dipdup_schema

insert data into the table: "dipdup_schema"
Returns a dipdup_schema_mutation_response

Name Description
objects - [dipdup_schema_insert_input!]! the rows to be inserted
on_conflict - dipdup_schema_on_conflict on conflict condition

Example

Query
mutation insert_dipdup_schema($objects: [dipdup_schema_insert_input!]!, $on_conflict: dipdup_schema_on_conflict) {
  insert_dipdup_schema(objects: $objects, on_conflict: $on_conflict) {
    affected_rows
    returning {
      ...dipdup_schemaFragment
    }
  }
}
Variables
{
  "objects": [dipdup_schema_insert_input],
  "on_conflict": dipdup_schema_on_conflict
}
Response
{
  "data": {
    "insert_dipdup_schema": {
      "affected_rows": 123,
      "returning": [dipdup_schema]
    }
  }
}

insert_dipdup_schema_one

insert a single row into the table: "dipdup_schema"
Returns a dipdup_schema

Name Description
object - dipdup_schema_insert_input! the row to be inserted
on_conflict - dipdup_schema_on_conflict on conflict condition

Example

Query
mutation insert_dipdup_schema_one($object: dipdup_schema_insert_input!, $on_conflict: dipdup_schema_on_conflict) {
  insert_dipdup_schema_one(object: $object, on_conflict: $on_conflict) {
    created_at
    hash
    name
    reindex
    updated_at
  }
}
Variables
{
  "object": dipdup_schema_insert_input,
  "on_conflict": dipdup_schema_on_conflict
}
Response
{
  "data": {
    "insert_dipdup_schema_one": {
      "created_at": timestamptz,
      "hash": "xyz789",
      "name": "abc123",
      "reindex": "xyz789",
      "updated_at": timestamptz
    }
  }
}

insert_dutch_auction

insert data into the table: "dutch_auction"
Returns a dutch_auction_mutation_response

Name Description
objects - [dutch_auction_insert_input!]! the rows to be inserted
on_conflict - dutch_auction_on_conflict on conflict condition

Example

Query
mutation insert_dutch_auction($objects: [dutch_auction_insert_input!]!, $on_conflict: dutch_auction_on_conflict) {
  insert_dutch_auction(objects: $objects, on_conflict: $on_conflict) {
    affected_rows
    returning {
      ...dutch_auctionFragment
    }
  }
}
Variables
{
  "objects": [dutch_auction_insert_input],
  "on_conflict": dutch_auction_on_conflict
}
Response
{
  "data": {
    "insert_dutch_auction": {
      "affected_rows": 987,
      "returning": [dutch_auction]
    }
  }
}

insert_dutch_auction_one

insert a single row into the table: "dutch_auction"
Returns a dutch_auction

Name Description
object - dutch_auction_insert_input! the row to be inserted
on_conflict - dutch_auction_on_conflict on conflict condition

Example

Query
mutation insert_dutch_auction_one($object: dutch_auction_insert_input!, $on_conflict: dutch_auction_on_conflict) {
  insert_dutch_auction_one(object: $object, on_conflict: $on_conflict) {
    artist {
      ...walletsFragment
    }
    artist_id
    buy_price
    buyer {
      ...walletsFragment
    }
    buyer_id
    contract_version
    creator {
      ...walletsFragment
    }
    creator_id
    end_price
    end_time
    fa2 {
      ...FA2Fragment
    }
    fa2_id
    hash
    id
    level
    objkt_id
    royalties
    start_price
    start_time
    status
    timestamp
    update_level
    update_timestamp
  }
}
Variables
{
  "object": dutch_auction_insert_input,
  "on_conflict": dutch_auction_on_conflict
}
Response
{
  "data": {
    "insert_dutch_auction_one": {
      "artist": wallets,
      "artist_id": 123,
      "buy_price": bigint,
      "buyer": wallets,
      "buyer_id": 987,
      "contract_version": smallint,
      "creator": wallets,
      "creator_id": 123,
      "end_price": bigint,
      "end_time": timestamptz,
      "fa2": FA2,
      "fa2_id": "xyz789",
      "hash": "xyz789",
      "id": bigint,
      "level": bigint,
      "objkt_id": bigint,
      "royalties": bigint,
      "start_price": bigint,
      "start_time": timestamptz,
      "status": "abc123",
      "timestamp": timestamptz,
      "update_level": bigint,
      "update_timestamp": timestamptz
    }
  }
}

insert_english_auction

insert data into the table: "english_auction"
Returns an english_auction_mutation_response

Name Description
objects - [english_auction_insert_input!]! the rows to be inserted
on_conflict - english_auction_on_conflict on conflict condition

Example

Query
mutation insert_english_auction($objects: [english_auction_insert_input!]!, $on_conflict: english_auction_on_conflict) {
  insert_english_auction(objects: $objects, on_conflict: $on_conflict) {
    affected_rows
    returning {
      ...english_auctionFragment
    }
  }
}
Variables
{
  "objects": [english_auction_insert_input],
  "on_conflict": english_auction_on_conflict
}
Response
{
  "data": {
    "insert_english_auction": {
      "affected_rows": 123,
      "returning": [english_auction]
    }
  }
}

insert_english_auction_one

insert a single row into the table: "english_auction"
Returns an english_auction

Name Description
object - english_auction_insert_input! the row to be inserted
on_conflict - english_auction_on_conflict on conflict condition

Example

Query
mutation insert_english_auction_one($object: english_auction_insert_input!, $on_conflict: english_auction_on_conflict) {
  insert_english_auction_one(object: $object, on_conflict: $on_conflict) {
    artist {
      ...walletsFragment
    }
    <