Views
recipientBalance
#[view(recipientBalance)]
fn recipient_balance(&self, stream_id: u64) -> BigUintawait axios.post('https://devnet-gateway.multiversx.com/vm-values/int',
{
funcName: 'recipientBalance',
scAddress: 'erd1qqqqqqqqqqqqqpgqfgned8q9zqwaeya4sc0stf7elpj6ylsdlpzqwhk5ye',
args: ["STREAM ID HEX"],
value: "0"
}
);senderBalance
#[view(senderBalance)]
fn sender_balance(&self, stream_id: u64) -> BigUintgetStreamData
Last updated