"https://api.blockcypher.com/v1/eth/main/blocks/b83ac85e42af87b8100bb1d653288e7649feb4b55fa6a1f9505c56e8f8b12025?txstart=20&limit=20"
Copy to Clipboard# Since this is a new address, I need to fund underlying bcy original_address
# to enable issuance transaction (otherwise no money available for mining fees)
# Going to use a faucet thanks to testnet
curl -d '{"address": "ByJUiocpifLPaYVTALpA7JYa9DxpLQwte4", "amount": 1000000}' https://api.blockcypher.com/v1/bcy/test/faucet?token=YOURTOKEN
{"tx_ref": "e7ca58724100f20b81e82ac24cb83cc112627be9cbfd2d09b96a87fbafe9e636"}
# using same underlying (now-funded address) to issue 1000 assets
# also could have used a different, funded bcy address to issue assets to a new oap_address
curl -d '{"from_private": "0eb369746401c3369517239314a6bc0f2bda6124a4dda15643887f86dc0590cf", "to_address": "1ByJUiocpifLPaYVTALpA7JYa9DxpGxXKKP", "amount": 1000, "metadata": "1a2b3c4d5e6f"}' https://api.blockcypher.com/v1/bcy/test/oap/issue?token=YOURTOKEN
{
"ver": 1,
"assetid": "1Npqwstp55vgThp4pwAC9UhYkvPJ28b2Ui",
"hash": "56253cffa1b3508d106391da3646cda2aee0bd080db427321c77ad11739e4239",
"received": "2015-10-25T05:41:45.092075094Z",
"double_spend": false,
"oap_meta": "1a2b3c4d5e6f",
"inputs": [],
"outputs": [
{
"address": "1ByJUiocpifLPaYVTALpA7JYa9DxpGxXKKP",
"value": 1000,
"original_output_index": 0
}
]
}