File tree 3 files changed +29
-1
lines changed
3 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @safe-global/safe-gateway-typescript-sdk" ,
3
- "version" : " 3.12 .0" ,
3
+ "version" : " 3.13 .0" ,
4
4
"main" : " dist/index.js" ,
5
5
"types" : " dist/index.d.ts" ,
6
6
"files" : [
Original file line number Diff line number Diff line change @@ -229,6 +229,12 @@ export function postSafeGasEstimation(
229
229
} )
230
230
}
231
231
232
+ export function getRecommendedNonce ( chainId : string , address : string ) : Promise < number > {
233
+ return getEndpoint ( baseUrl , '/v1/chains/{chainId}/safes/{safe_address}/recommended-nonce' , {
234
+ path : { chainId, safe_address : address } ,
235
+ } )
236
+ }
237
+
232
238
/**
233
239
* Propose a new transaction for other owners to sign/execute
234
240
*/
Original file line number Diff line number Diff line change @@ -304,6 +304,15 @@ export interface paths extends PathRegistry {
304
304
}
305
305
}
306
306
}
307
+ '/v1/chains/{chainId}/safes/{safe_address}/recommended-nonce' : {
308
+ get : operations [ 'get_recommended_nonce' ]
309
+ parameters : {
310
+ path : {
311
+ chainId : string
312
+ safe_address : string
313
+ }
314
+ }
315
+ }
307
316
}
308
317
309
318
export interface operations {
@@ -760,4 +769,17 @@ export interface operations {
760
769
}
761
770
}
762
771
}
772
+ get_recommended_nonce : {
773
+ parameters : {
774
+ path : {
775
+ chainId : string
776
+ safe_address : string
777
+ }
778
+ }
779
+ responses : {
780
+ 200 : {
781
+ schema : number
782
+ }
783
+ }
784
+ }
763
785
}
You can’t perform that action at this time.
0 commit comments