- graphql(source): unknown
Returns unknown
- graphql(source): typeof documents["\n query OptionPositions($account: ID!) {\n account(id: $account) {\n ERC1155balances {\n id\n token {\n id\n type\n claim {\n id\n amountWritten\n amountExercised\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n redeemed\n }\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n }\n valueExact\n }\n }\n }\n"]
Parameters
source: "\n query OptionPositions($account: ID!) {\n account(id: $account) {\n ERC1155balances {\n id\n token {\n id\n type\n claim {\n id\n amountWritten\n amountExercised\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n redeemed\n }\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n }\n valueExact\n }\n }\n }\n"
Returns typeof documents["\n query OptionPositions($account: ID!) {\n account(id: $account) {\n ERC1155balances {\n id\n token {\n id\n type\n claim {\n id\n amountWritten\n amountExercised\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n redeemed\n }\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n }\n valueExact\n }\n }\n }\n"]
- graphql(source): typeof documents["\n query TotalSupplyOptionPosition($tokenId: ID!) {\n erc1155Token(id: $tokenId) {\n id\n balances {\n id\n token {\n id\n type\n claim {\n id\n amountWritten\n amountExercised\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n redeemed\n }\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n }\n valueExact\n }\n }\n }\n"]
Parameters
source: "\n query TotalSupplyOptionPosition($tokenId: ID!) {\n erc1155Token(id: $tokenId) {\n id\n balances {\n id\n token {\n id\n type\n claim {\n id\n amountWritten\n amountExercised\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n redeemed\n }\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n }\n valueExact\n }\n }\n }\n"
Returns typeof documents["\n query TotalSupplyOptionPosition($tokenId: ID!) {\n erc1155Token(id: $tokenId) {\n id\n balances {\n id\n token {\n id\n type\n claim {\n id\n amountWritten\n amountExercised\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n redeemed\n }\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n }\n valueExact\n }\n }\n }\n"]
- graphql(source): typeof documents["\n query OwnedOptionPosition($tokenId: ID!, $owner: ID!) {\n account(id: $owner) {\n ERC1155balances(where: { id: $tokenId }) {\n id\n token {\n id\n type\n claim {\n id\n amountWritten\n amountExercised\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n redeemed\n }\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n }\n valueExact\n }\n }\n }\n"]
Parameters
source: "\n query OwnedOptionPosition($tokenId: ID!, $owner: ID!) {\n account(id: $owner) {\n ERC1155balances(where: { id: $tokenId }) {\n id\n token {\n id\n type\n claim {\n id\n amountWritten\n amountExercised\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n redeemed\n }\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n }\n valueExact\n }\n }\n }\n"
Returns typeof documents["\n query OwnedOptionPosition($tokenId: ID!, $owner: ID!) {\n account(id: $owner) {\n ERC1155balances(where: { id: $tokenId }) {\n id\n token {\n id\n type\n claim {\n id\n amountWritten\n amountExercised\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n redeemed\n }\n optionType {\n id\n underlyingAsset {\n symbol\n }\n underlyingAmount\n exerciseAsset {\n symbol\n }\n exerciseAmount\n exerciseTimestamp\n expiryTimestamp\n }\n }\n valueExact\n }\n }\n }\n"]
The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.