Skip to content

Instantly share code, notes, and snippets.

@iwasaki-kenta
Last active August 15, 2019 09:10
Show Gist options
  • Save iwasaki-kenta/9291466cb6ec5d7f23a610cbe5e1253f to your computer and use it in GitHub Desktop.
Save iwasaki-kenta/9291466cb6ec5d7f23a610cbe5e1253f to your computer and use it in GitHub Desktop.
await contract.call(
wallet,
'send_message',
JSBI.BigInt(0), // amount to send
JSBI.BigInt(250000), // gas limit
JSBI.BigInt(0), // gas deposit (not explained)
{type: "string", value: "Your chat message here!"},
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment