# BLS signature | BLS verification

**URL:** <https://forums.sui.io/t/bls-signature-bls-verification/47436>\
**Category:** Move\
**Created:** [February 16, 2025, 11:13pm UTC](https://forums.sui.io/t/bls-signature-bls-verification/47436 "2025-02-16T23:13:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adob](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@Adob](https://forums.sui.io/u/Adob)\
**Post date:** [February 16, 2025, 11:13pm UTC](https://forums.sui.io/t/bls-signature-bls-verification/47436/1 "2025-02-16T23:13:39Z")

</div>

Hi SUI devs,

I’m having hard time passing arguments from sui cli to a function for bls signature verification. If the function is defined like this:

`public fun bls_verification(signature: vector<u8>) { let message = create_message(); let bls_is_correct = bls12381::bls12381_min_pk_verify(&signature, &bls_public_key, &message); }`

How to pass signature that is in hex when calling this function in sui cli? Should it be with “0x” or without it?

In FastCrypto I generate public key and signature that are plain hex values without 0x prefix, but I’m not sure what sui cli does with these values when it converts them to vector. I’ve tried all the variations but the validation on chain doesn’t work for me. It does in FastCrypto tho.  
I’ll be thankful for any help.

---

<div class="post-metadata">

**Author:** ![alanvu](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@alanvu](https://forums.sui.io/u/alanvu)\
**Post date:** [February 17, 2025, 7:48am UTC](https://forums.sui.io/t/bls-signature-bls-verification/47436/2 "2025-02-17T07:48:16Z")

</div>

Yes, you should pass a signature parameter with 0x.  
For example:

```bash
sui client call --function bls_verification --module <module_name> --args 0x16333...(your signature in hex) ... 

```

---

<div class="post-metadata">

**Author:** ![Adob](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@Adob](https://forums.sui.io/u/Adob)\
**Post date:** [February 17, 2025, 3:19pm UTC](https://forums.sui.io/t/bls-signature-bls-verification/47436/3 "2025-02-17T15:19:40Z")

</div>

Thank you Alanvu that was very helpful 🙏
