Invalid asset name

+1 vote


I'm trying to create a open asset via RPC, and looks like the assetname is getting rejected for some strange reason. 


>>> rpc_client.issuefrom('17z2BPm3buLU1w5SBV7iisjVRTC5aNUHu5','17z2BPm3buLU1w5SBV7iisjVRTC5aNUHu5',{"name": "84876530-2567-4b", "open": True}, 100,1,0)
{u'id': 3, u'result': None, u'error': {u'message': u'Invalid asset name', u'code': -8}}

Changing any character from the name, it works. 

Version running:

build 1.0 alpha 27 protocol 10007


There are some sort of 'reserved' names?


asked Dec 20, 2017 by reiven

1 Answer

0 votes
Best answer

You were unlucky. This (integer-integer-hex) just happens to be the format that MultiChain uses for asset references (assetref fields), which are another permitted way of referring to assets across the APIs. So please just try to use asset names that don't match this format.

answered Dec 21, 2017 by MultiChain
selected Dec 21, 2017 by reiven