Aptos · Schema

Signature

BlockchainWeb3MoveLayer 1CryptocurrencyNFTSmart ContractsDeFiTransactionsAccountsGraphQLgRPC
View JSON Schema on GitHub

JSON Schema

Signature.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-evangelist.github.io/aptos/json-schema/Signature.json",
  "title": "Signature",
  "type": "object",
  "oneOf": [
    {
      "$ref": "#/components/schemas/Signature_Ed25519"
    },
    {
      "$ref": "#/components/schemas/Signature_Secp256k1Ecdsa"
    },
    {
      "$ref": "#/components/schemas/Signature_WebAuthn"
    },
    {
      "$ref": "#/components/schemas/Signature_Keyless"
    },
    {
      "$ref": "#/components/schemas/Signature_SlhDsa_Sha2_128s"
    }
  ],
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "ed25519": "#/components/schemas/Signature_Ed25519",
      "secp256k1_ecdsa": "#/components/schemas/Signature_Secp256k1Ecdsa",
      "web_authn": "#/components/schemas/Signature_WebAuthn",
      "keyless": "#/components/schemas/Signature_Keyless",
      "slh_dsa__sha2_128s": "#/components/schemas/Signature_SlhDsa_Sha2_128s"
    }
  }
}