diff --git a/packages/xrpl/src/models/common/index.ts b/packages/xrpl/src/models/common/index.ts index e6020490..3c302baa 100644 --- a/packages/xrpl/src/models/common/index.ts +++ b/packages/xrpl/src/models/common/index.ts @@ -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 */ diff --git a/packages/xrpl/src/models/transactions/invoke.ts b/packages/xrpl/src/models/transactions/invoke.ts index a7824adc..fca9f45a 100644 --- a/packages/xrpl/src/models/transactions/invoke.ts +++ b/packages/xrpl/src/models/transactions/invoke.ts @@ -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 } /**