diff --git a/packages/sdk/src/restclient.ts b/packages/sdk/src/restclient.ts index b210c873..2e56a4a4 100644 --- a/packages/sdk/src/restclient.ts +++ b/packages/sdk/src/restclient.ts @@ -64,6 +64,12 @@ interface PostTxsResponse { readonly txhash: string; readonly code?: number; readonly raw_log?: string; + /** The same as `raw_log` but deserialized? */ + readonly logs?: object; + /** The gas limit as set by the user */ + readonly gas_wanted?: string; + /** The gas used by the execution */ + readonly gas_used?: string; } interface EncodeTxResponse { diff --git a/packages/sdk/types/restclient.d.ts b/packages/sdk/types/restclient.d.ts index 08f16827..e235d842 100644 --- a/packages/sdk/types/restclient.d.ts +++ b/packages/sdk/types/restclient.d.ts @@ -49,6 +49,12 @@ interface PostTxsResponse { readonly txhash: string; readonly code?: number; readonly raw_log?: string; + /** The same as `raw_log` but deserialized? */ + readonly logs?: object; + /** The gas limit as set by the user */ + readonly gas_wanted?: string; + /** The gas used by the execution */ + readonly gas_used?: string; } interface EncodeTxResponse { readonly tx: string;