VRC-10 token transfer

HTTP API

// wallet/transferasset
// demo:
curl -X POST   https://vpioneer.infragrid.v.network/wallet/transferasset -d '{
  "owner_address":"46d1e7a6bc354106cb410e65ff8b181c600ff14292", 
  "to_address": "46e552f6487585c2b58bc2c9bb4492bc1f17132cd0", 
  "asset_name": "0x6173736574497373756531353330383934333132313538", 
  "amount": 100
}'
// inputs :
  owner_address : need hexString
  to_address : need hexString 
  asset_name : need hexString 
  amount : value
// returns
  Transaction Object

VisionWeb

const privateKey = "..."; 
var toAddress = "VM2TmqauSEiRf16CyFgzHV2BVxBejY9iyR";
var tokenID= "1000088";
var amount = 1000;
var fromAddress = "VVDGpn4hCSzJ5nkHPLetk8KQBtwaTppnkr";
// create unsigned transcation
tradeobj = await vsWeb.transactionBuilder.sendToken(
      toAddress,
      amount,
      tokenID,
      fromAddress,    
).then(output => {
  console.log('- Output:', output, '\n');
  return output;
});
// sign
const signedtxn = await vsWeb.vs.sign(
      tradeobj,
      privateKey
);
// boardcast
const receipt = await vsWeb.vs.sendRawTransaction(
      signedtxn
).then(output => {
  console.log('- Output:', output, '\n');
  return output;
});

Wallet-cli

#TransferAsset [OwnerAddress] ToAddress AssertID Amount
TransferAsset VWbcHNCYzqAGbrQteKnseKJdxfzBHyTfuh 1000099 1000

follow the above steps:
1.notice :“Please confirm and input your permission id, if input y or Y means default 0, other non-numeric characters will cancel transaction.”,enter "y" or "Y";
2.notice :“lease choose your key for sign. …… Please choose between 1 and 2”,select your address use for signing;
3.notice :“Please input your password.”,enter local pwd;
4.notice :“TransferAsset 1000 to VWbcHNCYzqAGbrQteKnseKJdxfzBHyTfuh successful !!” ,congratulation success。