tech.lenooby09.atbloons.transfer

Consumes finalized value outputs to transfer value and optionally return change to the sender.

Details · record, key tid
Kindrecord
Record keytid
Authorityatbloons.lenooby09.tech
Indexed
cid bafyreigge4eikj63mbra32zclgpwveo2oyitvlzoabpjlhqo5swsmdsv64

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Consumes finalized value outputs to transfer value and optionally return change to the sender.",
      "key": "tid",
      "record": {
        "properties": {
          "amount": {
            "maxLength": 78,
            "minLength": 1,
            "type": "string"
          },
          "change": {
            "maxLength": 78,
            "minLength": 1,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "genesisHash": {
            "maxLength": 64,
            "minLength": 64,
            "type": "string"
          },
          "inputs": {
            "items": {
              "ref": "#outputRef",
              "type": "ref"
            },
            "maxLength": 1024,
            "minLength": 1,
            "type": "array"
          },
          "networkId": {
            "maxLength": 64,
            "minLength": 3,
            "type": "string"
          },
          "protocolVersion": {
            "knownValues": [
              "v0"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "recipientDid": {
            "format": "did",
            "type": "string"
          },
          "recipientEpoch": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "senderEpoch": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "networkId",
          "protocolVersion",
          "genesisHash",
          "createdAt",
          "inputs",
          "recipientDid",
          "amount",
          "senderEpoch",
          "recipientEpoch"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "outputRef": {
      "properties": {
        "index": {
          "minimum": 0,
          "type": "integer"
        },
        "source": {
          "maxLength": 256,
          "minLength": 21,
          "type": "string"
        },
        "sourceKind": {
          "knownValues": [
            "GENESIS",
            "TRANSFER"
          ],
          "maxLength": 64,
          "type": "string"
        }
      },
      "required": [
        "sourceKind",
        "source",
        "index"
      ],
      "type": "object"
    }
  },
  "id": "tech.lenooby09.atbloons.transfer",
  "lexicon": 1
}