Module Overview
Module Name agent_registry
Module Reference f351ce6b17
Verification Status Unverifiable
Age 1 day
Sender 104437
More Info
Deployed in block 46,938,967
Deployed in tx 8152
Methods 10
Contracts 1
Module Build Info
Verification Status:Unverifiable
Build Image Used:N/A
Build Command Used:N/A
Archive Hash:N/A
Link to Source Code:N/A
Explanation:No embedded build information found.
Module Schema
Initialization

Parameters
None
Errors
None
Event
None
Methods

Parameters
{
  "agent_card_url": "<String>",
  "agent_name": "<String>",
  "agent_type": {
    "Enum": [
      {
        "Native": []
      },
      {
        "Asserted": []
      },
      {
        "VerifiedEth": []
      }
    ]
  },
  "external_claim": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          {
            "handle": "<String>",
            "platform": "<String>",
            "verification_anchor": {
              "Enum": [
                {
                  "None": []
                },
                {
                  "Some": [
                    "<String of size 64 containing lowercase hex characters.>"
                  ]
                }
              ]
            },
            "verifier_account": {
              "Enum": [
                {
                  "None": []
                },
                {
                  "Some": [
                    "<AccountAddress>"
                  ]
                }
              ]
            }
          }
        ]
      }
    ]
  },
  "metadata_hash": [
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>",
    "<UInt8>"
  ],
  "verified_key": {
    "Enum": [
      {
        "None": []
      },
      {
        "Some": [
          {
            "cisx_contract": {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            },
            "external_address": {
              "address": "<String>",
              "namespace": "<String>"
            },
            "external_key": {
              "key_type": "<String>",
              "namespace": "<String>",
              "public_key": [
                "<UInt8>"
              ]
            }
          }
        ]
      }
    ]
  }
}
Errors
None
Return
{
  "did": "<String>",
  "token_id": "<String with lowercase hex>"
}

Parameters
{
  "token_id": "<String with lowercase hex>"
}
Errors
None
Return
None

Parameters
[
  {
    "amount": "<String of size at most 74 containing an unsigned integer.>",
    "data": "<String with lowercase hex>",
    "from": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "to": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            },
            "<String>"
          ]
        }
      ]
    },
    "token_id": "<String with lowercase hex>"
  }
]
Errors
None
Return
None

Parameters
[
  {
    "address": {
      "Enum": [
        {
          "Account": [
            "<AccountAddress>"
          ]
        },
        {
          "Contract": [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        }
      ]
    },
    "token_id": "<String with lowercase hex>"
  }
]
Errors
None
Return
[
  "<String of size at most 74 containing an unsigned integer.>"
]

Parameters
[
  "<String with lowercase hex>"
]
Errors
None
Return
[
  {
    "hash": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            "<String of size 64 containing lowercase hex characters.>"
          ]
        }
      ]
    },
    "url": "<String>"
  }
]

Parameters
[
  "<String>"
]
Errors
None
Return
[
  {
    "Enum": [
      {
        "NoSupport": []
      },
      {
        "Support": []
      },
      {
        "SupportBy": [
          [
            {
              "index": "<UInt64>",
              "subindex": "<UInt64>"
            }
          ]
        ]
      }
    ]
  }
]

Parameters
None
Errors
None
Return
{
  "agents": [
    {
      "agent_card_url": "<String>",
      "agent_name": "<String>",
      "agent_type": {
        "Enum": [
          {
            "Native": []
          },
          {
            "Asserted": []
          },
          {
            "VerifiedEth": []
          }
        ]
      },
      "external_claim": {
        "Enum": [
          {
            "None": []
          },
          {
            "Some": [
              {
                "handle": "<String>",
                "platform": "<String>",
                "verification_anchor": {
                  "Enum": [
                    {
                      "None": []
                    },
                    {
                      "Some": [
                        "<String of size 64 containing lowercase hex characters.>"
                      ]
                    }
                  ]
                },
                "verifier_account": {
                  "Enum": [
                    {
                      "None": []
                    },
                    {
                      "Some": [
                        "<AccountAddress>"
                      ]
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "metadata_hash": [
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>",
        "<UInt8>"
      ],
      "owner": "<AccountAddress>",
      "registered_at": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
      "status": {
        "Enum": [
          {
            "Active": []
          },
          {
            "Revoked": []
          }
        ]
      },
      "token_id": "<UInt64>",
      "verified_key": {
        "Enum": [
          {
            "None": []
          },
          {
            "Some": [
              {
                "cisx_contract": {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                },
                "external_address": {
                  "address": "<String>",
                  "namespace": "<String>"
                },
                "external_key": {
                  "key_type": "<String>",
                  "namespace": "<String>",
                  "public_key": [
                    "<UInt8>"
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  ],
  "agents_by_claim": [
    {
      "handle": "<String>",
      "platform": "<String>",
      "token_id": "<String with lowercase hex>"
    }
  ],
  "agents_by_owner": [
    {
      "owner": "<AccountAddress>",
      "token_ids": [
        "<String with lowercase hex>"
      ]
    }
  ],
  "next_token_id": "<UInt64>",
  "operators": [
    {
      "operators": [
        {
          "Enum": [
            {
              "Account": [
                "<AccountAddress>"
              ]
            },
            {
              "Contract": [
                {
                  "index": "<UInt64>",
                  "subindex": "<UInt64>"
                }
              ]
            }
          ]
        }
      ],
      "owner": "<AccountAddress>"
    }
  ]
}

Parameters
"<AccountAddress>"
Errors
None
Return
[
  {
    "agent_card_url": "<String>",
    "agent_name": "<String>",
    "agent_type": {
      "Enum": [
        {
          "Native": []
        },
        {
          "Asserted": []
        },
        {
          "VerifiedEth": []
        }
      ]
    },
    "external_claim": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            {
              "handle": "<String>",
              "platform": "<String>",
              "verification_anchor": {
                "Enum": [
                  {
                    "None": []
                  },
                  {
                    "Some": [
                      "<String of size 64 containing lowercase hex characters.>"
                    ]
                  }
                ]
              },
              "verifier_account": {
                "Enum": [
                  {
                    "None": []
                  },
                  {
                    "Some": [
                      "<AccountAddress>"
                    ]
                  }
                ]
              }
            }
          ]
        }
      ]
    },
    "metadata_hash": [
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>",
      "<UInt8>"
    ],
    "owner": "<AccountAddress>",
    "registered_at": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
    "status": {
      "Enum": [
        {
          "Active": []
        },
        {
          "Revoked": []
        }
      ]
    },
    "token_id": "<UInt64>",
    "verified_key": {
      "Enum": [
        {
          "None": []
        },
        {
          "Some": [
            {
              "cisx_contract": {
                "index": "<UInt64>",
                "subindex": "<UInt64>"
              },
              "external_address": {
                "address": "<String>",
                "namespace": "<String>"
              },
              "external_key": {
                "key_type": "<String>",
                "namespace": "<String>",
                "public_key": [
                  "<UInt8>"
                ]
              }
            }
          ]
        }
      ]
    }
  }
]

Parameters
"<String with lowercase hex>"
Errors
None
Return
{
  "Enum": [
    {
      "None": []
    },
    {
      "Some": [
        {
          "agent_card_url": "<String>",
          "agent_name": "<String>",
          "agent_type": {
            "Enum": [
              {
                "Native": []
              },
              {
                "Asserted": []
              },
              {
                "VerifiedEth": []
              }
            ]
          },
          "external_claim": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  {
                    "handle": "<String>",
                    "platform": "<String>",
                    "verification_anchor": {
                      "Enum": [
                        {
                          "None": []
                        },
                        {
                          "Some": [
                            "<String of size 64 containing lowercase hex characters.>"
                          ]
                        }
                      ]
                    },
                    "verifier_account": {
                      "Enum": [
                        {
                          "None": []
                        },
                        {
                          "Some": [
                            "<AccountAddress>"
                          ]
                        }
                      ]
                    }
                  }
                ]
              }
            ]
          },
          "metadata_hash": [
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>"
          ],
          "owner": "<AccountAddress>",
          "registered_at": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
          "status": {
            "Enum": [
              {
                "Active": []
              },
              {
                "Revoked": []
              }
            ]
          },
          "token_id": "<UInt64>",
          "verified_key": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  {
                    "cisx_contract": {
                      "index": "<UInt64>",
                      "subindex": "<UInt64>"
                    },
                    "external_address": {
                      "address": "<String>",
                      "namespace": "<String>"
                    },
                    "external_key": {
                      "key_type": "<String>",
                      "namespace": "<String>",
                      "public_key": [
                        "<UInt8>"
                      ]
                    }
                  }
                ]
              }
            ]
          }
        }
      ]
    }
  ]
}

Parameters
{
  "handle": "<String>",
  "platform": "<String>"
}
Errors
None
Return
{
  "Enum": [
    {
      "None": []
    },
    {
      "Some": [
        {
          "agent_card_url": "<String>",
          "agent_name": "<String>",
          "agent_type": {
            "Enum": [
              {
                "Native": []
              },
              {
                "Asserted": []
              },
              {
                "VerifiedEth": []
              }
            ]
          },
          "external_claim": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  {
                    "handle": "<String>",
                    "platform": "<String>",
                    "verification_anchor": {
                      "Enum": [
                        {
                          "None": []
                        },
                        {
                          "Some": [
                            "<String of size 64 containing lowercase hex characters.>"
                          ]
                        }
                      ]
                    },
                    "verifier_account": {
                      "Enum": [
                        {
                          "None": []
                        },
                        {
                          "Some": [
                            "<AccountAddress>"
                          ]
                        }
                      ]
                    }
                  }
                ]
              }
            ]
          },
          "metadata_hash": [
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>",
            "<UInt8>"
          ],
          "owner": "<AccountAddress>",
          "registered_at": "<Timestamp (e.g. `2000-01-01T12:00:00Z`)>",
          "status": {
            "Enum": [
              {
                "Active": []
              },
              {
                "Revoked": []
              }
            ]
          },
          "token_id": "<UInt64>",
          "verified_key": {
            "Enum": [
              {
                "None": []
              },
              {
                "Some": [
                  {
                    "cisx_contract": {
                      "index": "<UInt64>",
                      "subindex": "<UInt64>"
                    },
                    "external_address": {
                      "address": "<String>",
                      "namespace": "<String>"
                    },
                    "external_key": {
                      "key_type": "<String>",
                      "namespace": "<String>",
                      "public_key": [
                        "<UInt8>"
                      ]
                    }
                  }
                ]
              }
            ]
          }
        }
      ]
    }
  ]
}
Module Usage