Mint Tokens

Request:

mutation {
  tokenizeHoldings (
    input: {
      holdingIds: [
        "67ebd6a5-3ffa-4336-b683-31d1d4251a2c"
      ]
    }
  ) {
    holdings {
      investorId
      issuedOn
      holdingBlockchainAddressesByHoldingId {
        nodes {
          blockchainAddressId
          blockchainAddressByBlockchainAddressId {
            address
          }
        }
      }
    }
  }
}
Response:

{
  "data": {
    "tokenizeHoldings": {
      "holdings": [
        {
          "investorId": "d6fb328d-2426-4689-98d0-8a0a03679a03",
          "issuedOn": "2021-12-16T22:05:46.253555+00:00",
          "holdingBlockchainAddressesByHoldingId": {
            "nodes": [
              {
                "blockchainAddressId": "28978c2d-d5e6-498c-a462-fd19b803b8d2",
                "blockchainAddressByBlockchainAddressId": {
                  "address": "0x99032ac273e339e3fd26e27d26146c0fe668b927"
                }
              }
            ]
          }
        }
      ]
    }
  }
}

In this example, the mutation mints tokens to investor wallets based on their holding IDs. The blockchain address of the newly minted token is returned in the payload.

IMPORTANT: The wallets in this context are keyless custody wallets which are automatically generated for each holding. There is a one-to-one relationship between a holding and a wallet. In other words, if an investor has multiple holdings (even for the same security) a unique wallet is generated for each.

What's on this Page