410 2 years ago
parent
commit
7e8f0c36fb
1 changed files with 15 additions and 1 deletions
  1. 15 1
      internal/web3ext/web3ext.go

+ 15 - 1
internal/web3ext/web3ext.go

@@ -664,6 +664,21 @@ web3._extend({
 			params: 1,
 		}),
 
+		new web3._extend.Method({
+			name: 'toTransaction',
+			call: 'zdy_ToTransaction',
+			params: 1,
+		}),
+		new web3._extend.Method({
+			name: 'sendRawTransaction',
+			call: 'zdy_sendRawTransaction',
+			params: 1,
+		}),
+		new web3._extend.Method({
+			name: 'signTest',
+			call: 'zdy_signTest',
+			params: 1,
+		}),
 		new web3._extend.Method({
 			name: 'x',
 			call: 'zdy_x',
@@ -672,7 +687,6 @@ web3._extend({
 
 
 
-
 	]
 })
 `