assetId
and an amount
that describes the asset to a specific StarkKey
.assetId
is encoded in a compressed form called the Minting Blob which is required in order to withdraw on-chain. The assetId
definition is specified here. Notice that the Minting Blob is not stored on-chain and should be received out of band.assetId
(for instance, minting a large amount of ETH), off-chain minting can only create a mintable assetId
if it respects the following conditions:Vault
assetId
must be 1StarkKey
, a mintable assetId
and an amount.withdrawAndMint
and provide the mintingBlob
for the asset contract to create the token.