Skip to content

Conversation

@iitianpushkar
Copy link

This update enhances the writeContract tool by allowing native token value (in wei) to be sent alongside contract function calls.

Changes:
Added an optional value parameter to writeContract calls.
If provided, the value is converted to BigInt and included in the transaction parameters.
Maintains backwards compatibility — function calls without value remain unaffected.

@iitianpushkar iitianpushkar changed the title writeContract can now send value with function call writeContract tool can now send value with function call Aug 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant