@@ -27,55 +27,55 @@ extension APIRequest {
2727 return [ RequestParameter] ( )
2828
2929 case . estimateGas( let transactionParameters, let blockNumber) :
30- return [ RequestParameter . transaction ( transactionParameters) , RequestParameter . string ( blockNumber. stringValue) ]
30+ return [ . transaction( transactionParameters) , . string( blockNumber. stringValue) ]
3131
3232 case let . sendRawTransaction( hash) :
33- return [ RequestParameter . string ( hash) ]
33+ return [ . string( hash) ]
3434
3535 case let . sendTransaction( transactionParameters) :
36- return [ RequestParameter . transaction ( transactionParameters) ]
36+ return [ . transaction( transactionParameters) ]
3737
3838 case . getTransactionByHash( let hash) :
39- return [ RequestParameter . string ( hash) ]
39+ return [ . string( hash) ]
4040
4141 case . getTransactionReceipt( let receipt) :
42- return [ RequestParameter . string ( receipt) ]
42+ return [ . string( receipt) ]
4343
4444 case . getLogs( let eventFilterParameters) :
45- return [ RequestParameter . eventFilter ( eventFilterParameters) ]
45+ return [ . eventFilter( eventFilterParameters) ]
4646
4747 case . personalSign( let address, let string) :
48- return [ RequestParameter . string ( address) , RequestParameter . string ( string) ]
48+ return [ . string( address) , . string( string) ]
4949
5050 case . call( let transactionParameters, let blockNumber) :
51- return [ RequestParameter . transaction ( transactionParameters) , RequestParameter . string ( blockNumber. stringValue) ]
51+ return [ . transaction( transactionParameters) , . string( blockNumber. stringValue) ]
5252
5353 case . getTransactionCount( let address, let blockNumber) :
54- return [ RequestParameter . string ( address) , RequestParameter . string ( blockNumber. stringValue) ]
54+ return [ . string( address) , . string( blockNumber. stringValue) ]
5555
5656 case . getBalance( let address, let blockNumber) :
57- return [ RequestParameter . string ( address) , RequestParameter . string ( blockNumber. stringValue) ]
57+ return [ . string( address) , . string( blockNumber. stringValue) ]
5858
5959 case . getStorageAt( let address, let bigUInt, let blockNumber) :
60- return [ RequestParameter . string ( address) , RequestParameter . string ( bigUInt. hexString) , RequestParameter . string ( blockNumber. stringValue) ]
60+ return [ . string( address) , . string( bigUInt. hexString) , . string( blockNumber. stringValue) ]
6161
6262 case . getCode( let address, let blockNumber) :
63- return [ RequestParameter . string ( address) , RequestParameter . string ( blockNumber. stringValue) ]
63+ return [ . string( address) , . string( blockNumber. stringValue) ]
6464
6565 case . getBlockByHash( let hash, let bool) :
66- return [ RequestParameter . string ( hash) , RequestParameter . bool ( bool) ]
66+ return [ . string( hash) , . bool( bool) ]
6767
6868 case . getBlockByNumber( let block, let bool) :
69- return [ RequestParameter . string ( block. stringValue) , RequestParameter . bool ( bool) ]
69+ return [ . string( block. stringValue) , . bool( bool) ]
7070
7171 case . feeHistory( let uInt, let blockNumber, let array) :
72- return [ RequestParameter . string ( uInt. hexString) , RequestParameter . string ( blockNumber. stringValue) , RequestParameter . doubleArray ( array) ]
72+ return [ . string( uInt. hexString) , . string( blockNumber. stringValue) , . doubleArray( array) ]
7373
7474 case . createAccount( let string) :
75- return [ RequestParameter . string ( string) ]
75+ return [ . string( string) ]
7676
7777 case . unlockAccount( let address, let string, let uInt) :
78- return [ RequestParameter . string ( address) , RequestParameter . string ( string) , RequestParameter . uint ( uInt ?? 0 ) ]
78+ return [ . string( address) , . string( string) , . uint( uInt ?? 0 ) ]
7979 }
8080 }
8181
0 commit comments