diff --git a/src/Transformers/Actions/ContractActionTransformer.php b/src/Transformers/Actions/ContractActionTransformer.php index 3b7da6b..be217c7 100644 --- a/src/Transformers/Actions/ContractActionTransformer.php +++ b/src/Transformers/Actions/ContractActionTransformer.php @@ -26,7 +26,7 @@ public static function fromArray(array $data): ContractAction { return new ContractAction( label: $data['label'], - description: $data['description'], + description: $data['description'] ?? null, address: Address::newFromBech32($data['address']), func: $data['func'], args: $data['args'],