add fields

This commit is contained in:
Denis Angell
2023-05-17 06:28:14 +00:00
parent d50417acbc
commit c24197f202
2 changed files with 7 additions and 2 deletions

View File

@@ -97,14 +97,15 @@ export interface Hook {
* The object that describes the hook in Hooks.
*/
Hook: {
HookHash: string
/**
* The code that is executed when the hook is triggered.
*/
CreateCode: string
CreateCode?: string
/**
* The flags that are set on the hook.
*/
Flags: number
Flags?: number
/**
* The transactions that triggers the hook. Represented as a 256Hash
*/

View File

@@ -13,6 +13,10 @@ export interface Invoke extends BaseTransaction {
* If present, invokes the Hook on the Destination account.
*/
Destination?: string
/**
* Hex value representing a VL Blob.
*/
Blob?: string
}
/**