Creating a Collection
Set up a new collection for submitting and evaluating claims.Parameters
entityDid
entityDid
DID of the entity creating the collection
protocolDid
protocolDid
DID of the protocol under which the collection falls
paymentsAccount
paymentsAccount
Account to handle collection-related payments
signer (optional)
signer (optional)
Transaction signer
cw20Address (optional)
cw20Address (optional)
CW20 token address for payments
Querying Collections
Retrieve collection data using the IXO Blocksync GraphQL API.Managing Claims
Submitting a Claim
Submit a new claim to an existing collection.Evaluating a Claim
Assess and evaluate a submitted claim.Querying Claims
Retrieve detailed information about claims using GraphQL.Claims Function Reference
CreateCollection
CreateCollection
Creates a new collection.Parameters:
entityDid, protocolDid, paymentsAccount, signer?, cw20Address?UpdateCollectionState
UpdateCollectionState
Updates collection state.Parameters:
collectionId, adminAddress, signer?MsgClaimIntent
MsgClaimIntent
Submits a claim intent.Parameters:
claimId, collectionId, adminAddressMsgExecAgentSubmit
MsgExecAgentSubmit
Submits a claim.Parameters:
claimId, collectionId, adminAddressMsgExecAgentEvaluate
MsgExecAgentEvaluate
Evaluates a claim.Parameters:
claimId, collectionId, adminAddressGrantEntityAccountClaimsSubmitAuthz
GrantEntityAccountClaimsSubmitAuthz
Grants submission authorization.Parameters: Varies by implementation
GrantEntityAccountClaimsEvaluateAuthz
GrantEntityAccountClaimsEvaluateAuthz
Grants evaluation authorization.Parameters: Varies by implementation
DisputeClaim
DisputeClaim
Initiates a claim dispute.Parameters: Varies by implementation
MsgExecWithdrawal
MsgExecWithdrawal
Executes payment withdrawal.Parameters: Varies by implementation
Troubleshooting
Invalid Collection Parameters
Invalid Collection Parameters
- Ensure all DIDs and account addresses are correct
- Verify payment account details are accurate
- Check that the protocol DID exists and is valid
Claim Submission Errors
Claim Submission Errors
- Check that the claim ID is unique and valid
- Ensure the admin address has the necessary permissions
- Verify the collection is in a state that accepts claims
Evaluation Issues
Evaluation Issues
- Confirm the claim is in a state ready for evaluation
- Verify the evaluator has the correct authorization
- Check that the collection is still active and valid