]> git.ardis.lu - safe-owners/commitdiff
Use "latest" as defaultBlock parameter
authorArdis Lu <ardisglu@gmail.com>
Sun, 8 Dec 2024 03:41:51 +0000 (19:41 -0800)
committerArdis Lu <ardisglu@gmail.com>
Sun, 8 Dec 2024 03:41:51 +0000 (19:41 -0800)
"latest" is more widely supported than "safe" on other EVM-based chains (e.g., Polygon).

index.html

index 3d74fdca8e14472966e28eafe25cb521cdb27082..564d94132689e5704c036b1d87f40e2af1f9b66c 100644 (file)
           jsonrpc: '2.0',
           id,
           method: 'eth_call',
-          params: [{ to: safe, data }, 'safe']
+          params: [{ to: safe, data }, 'latest']
         });
       }
       const response = await fetch(rpc, {
This page took 0.048466 seconds and 4 git commands to generate.