title: Possible to create token and metadata in one transaction?
body: <p>Am I correct in saying that it's not possible to mint(create) an spl token and token metadata in the one transaction ?</p>
  <p>Here is me cerating the mpl token metadata for a previously cerated spl token:</p>
  <pre><code>const createMetadataTx = new CreateMetadataV2(
        { feePayer: this.appTreasPair.publicKey },
        {
          metadata,
          metadataData: new DataV2({
            uri: `${host}/token_type/${token_type.token_type_id}/metadata`,
            name: token_type.name,
            symbol: token_type.symbol,
            sellerFeeBasisPoints: 100,
            creators: null,
            collection: null,
            uses: null,
            tokenStandard: TokenStandard.FungibleAsset,
          }),
          updateAuthority: this.appTreasPair.publicKey,
          mint: new web3.PublicKey(token_type.token_address),
          mintAuthority: this.appTreasPair.publicKey,
        }
      );
  
      const connection = solanaUtils.getConnection(token_type.cluster);
  
      const transaction = new web3.Transaction();
  
      console.log(&quot;creating metadata&quot;)
      transaction.add(createMetadataTx)
  
      const sig = await web3.sendAndConfirmTransaction(connection, transaction, [this.appTreasPair], {
        skipPreflight: skipPreflight
      })
  </code></pre>
  <p>the <code>mint</code> field needs the address of the spl token which I can only get if I do the spl token creation in an initial separate transaction</p>