Skip to main content
Version: 5.7.0

ConsumePeerCurrency

Consumes currency in a peer.

ServiceOperation
productCONSUME_PEER_VC

Method Parameters

ParameterDescription
currencyTypeType of currency (Ex. ticket, tokens)
amountCurrency amount to be consumed
peerName of the peer

Usage

http://localhost:3000
// Cloud Code Only