{
"title": "Weekly Update 2023/03/06",
"tags": [
"post"
],
"sources": [
"xlog"
],
"external_urls": [
"https://crossbell-io-updates.xlog.app/Weekly-Update-2023%2F03%2F06"
],
"date_published": "2023-03-20T05:49:53.677Z",
"content": "Hope you're all doing well! It's time for our weekly update on all things.\n\n## Crossbell.js SDK |New API Proposal\n\n\n![crossbell.js](ipfs://bafybeic742lkjbgnknm4iegqcz36hhf3kvvngidvn2zkae3tjdv6hsxq7m)\n\n\nWe're excited to announce that we've put forward a [new API proposal](https://github.com/Crossbell-Box/crossbell.js/issues/8) for Crossbell.js! This new API proposal will offer more support for transaction status on the blockchain and will also provide native support for multicall operations. We believe that these updates will make Crossbell.js an even more powerful tool for developers.\n\nThe new API will go like this:\n\n· two-steps transaction status:\n\n```jsx\nconst fn = await contract.postNote(...) // only encodes the contract function\nconst tx = await fn.send() // sends transaction\nconst data = await tx.data() // waits the transaction to be mined and returns data\n\n// or in chain\nconst data = await contract.postNote().send().data()\n```\n\n· native support for multicall:\n\n```jsx\nconst fns = [contract.postNote(...), contract.postNote(...), contract.postNote(...)]\nconst multicallFn = await contract.multicall(fns).send().data()\n```\n\nIf you're a developer who is interested in Crossbell.js, we encourage you to check out our proposal and share your thoughts with us. We're always looking for feedback from our community, and we believe that working together is the key to making Crossbell.js the best it can be.\n\nThat's all for now. Thanks for tuning in, and we'll see you next week for more updates on Crossbell and Crossbell.js!\n\n---\n\nYou can subscribe to this newsletter by following @crossbell-io-updates on [crossbell.io](https://crossbell.io/@crossbell-io-updates). Also, don’t forget to join our communities to tell us about your thoughts:\n\n- Discord: [https://discord.gg/4GCwDsruyj](https://discord.gg/4GCwDsruyj)\n- Twitter: [https://twitter.com/_Crossbell](https://twitter.com/_Crossbell)\n- GitHub: [https://github.com/orgs/Crossbell-Box/discussions](https://github.com/orgs/Crossbell-Box/discussions)\n\nTake care. See you next week!\n\nThe Crossbell Dev Team",
"attributes": [
{
"value": "Weekly-Update-2023/03/06",
"trait_type": "xlog_slug"
}
]
}