Skip to main content

issue

RPC help captured from Yerbas Core 4.0.1.4 (f0e2dde).

Use ./yerbas-cli help issue on your node for help. In the GUI console omit yerbas-cli. HTTP examples use mainnet RPC port 15419; network-specific defaults and availability can differ.

issue "asset_name" qty "( to_address )" "( change_address )" ( units ) ( reissuable ) ( has_ipfs ) "( ipfs_hash )"

THIS COMMAND IS NOT YET ACTIVE!
https://github.com/The-Yerbas-Endeavor/yerbas

V4 mainnet wallet policy: asset creation, sending, reissuance, ownership transfers, and asset reward payouts
are locked below tip height 1195400. Receiving/viewing assets and ordinary YERB payments remain available.
Testnet/regtest are unaffected. This is wallet policy, not a consensus restriction on raw transactions.

Issue an asset, subasset or unique asset.
Asset name must not conflict with any existing asset.
Unit as the number of decimals precision for the asset (0 for whole units ("1"), 8 for max precision ("1.00000000")
Reissuable is true/false for whether additional units can be issued by the original issuer.
If issuing a unique asset these values are required (and will be defaulted to): qty=1, units=0, reissuable=false.

Arguments:
1. "asset_name" (string, required) a unique name
2. "qty" (numeric, optional, default=1) the number of units to be issued
3. "to_address" (string), optional, default=""), address asset will be sent to, if it is empty, address will be generated for you
4. "change_address" (string), optional, default=""), address the the yerb change will be sent to, if it is empty, change address will be generated for you
5. "units" (integer, optional, default=0, min=0, max=8), the number of decimals precision for the asset (0 for whole units ("1"), 8 for max precision ("1.00000000")
6. "reissuable" (boolean, optional, default=true (false for unique assets)), whether future reissuance is allowed
7. "has_ipfs" (boolean, optional, default=false), whether ipfs hash is going to be added to the asset
8. "ipfs_hash" (string, optional but required if has_ipfs = 1), an ipfs hash or a txid hash once RIP5 is activated

Result:
"txid" (string) The transaction id

Examples:
> yerbas-cli issue "ASSET_NAME" 1000
> yerbas-cli issue "ASSET_NAME" 1000 "myaddress"
> yerbas-cli issue "ASSET_NAME" 1000 "myaddress" "changeaddress" 4
> yerbas-cli issue "ASSET_NAME" 1000 "myaddress" "changeaddress" 2 true
> yerbas-cli issue "ASSET_NAME" 1000 "myaddress" "changeaddress" 8 false true QmTqu3Lk3gmTsQVtjU7rYYM37EAW4xNmbuEAp2Mjr4AV7E
> yerbas-cli issue "ASSET_NAME/SUB_ASSET" 1000 "myaddress" "changeaddress" 2 true
> yerbas-cli issue "ASSET_NAME#uniquetag"