[−][src]Function marketplace::buy_dtoken
pub fn buy_dtoken(
resource_id: &[u8],
n: U128,
buyer_account: &Address,
payer: &Address
) -> Vec<Vec<u8>>
buy dtoken
resource_id
used to mark the only commodity in the chain
n
is the number of purchases
buyer_account
is buyer address, need this address signature