You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The repo example works correctly (sendTransaction), but it's impossible to use the writeContract function. I get this error every time:
Details: the method is currently not implemented: eth_sendTransaction
Version: [email protected]
at delay.count.count (webpack-internal:///(actionBrowser)/./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/viem/dist/esm/utils/buildRequest.js:43:31)
at async attemptRetry (webpack-internal:///(actionBrowser)/./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/viem/dist/esm/utils/promise/withRetry.js:21:30) {
details: 'the method is currently not implemented: eth_sendTransaction',
docsPath: undefined,
metaMessages: [
'URL: https://rpc.ankr.com/polygon_mumbai',
'Request body: {"method":"eth_sendTransaction","params":[{"data":"0x97304ced00000000000000000000000000000000000000000000000000003691d6afc000","from":"0x54DBB70406f5BEA837CdD95A90E6002f4Fa2434c","to":"0x3c21eCEb9ef3F3c2440a37Ae969085Ea20999069"}]}'
],
shortMessage: 'Missing or invalid parameters.\n' +
'Double check you have provided the correct parameters.',
version: '[email protected]',
cause: RpcRequestError: RPC Request failed.
URL: https://rpc.ankr.com/polygon_mumbai
Request body: {"method":"eth_sendTransaction","params":[{"data":"0x97304ced00000000000000000000000000000000000000000000000000003691d6afc000","from":"0x54DBB70406f5BEA837CdD95A90E6002f4Fa2434c","to":"0x3c21eCEb9ef3F3c2440a37Ae969085Ea20999069"}]}
i would recommend using a different node provider in the mean time, and/or filling an issue with viem to see if they can support eth_sendRawTransaction instead
The repo example works correctly (
sendTransaction
), but it's impossible to use thewriteContract
function. I get this error every time:I use sub-organizations as custodial wallets.
Code to reproduce:
The text was updated successfully, but these errors were encountered: