ic4j / ic4j-candid

Java Candid for The Internet Computer (IC4J) is a set of native Java libraries to manage the Internet Computer Candid types
Apache License 2.0
3 stars 2 forks source link

Support for Blob type #5

Open Yoggam1 opened 4 months ago

Yoggam1 commented 4 months ago

Are there any plans to support the Blob format?

I'm particularly interested in constructing an account_balance request for the Ledger. The Swift kit IcpKit includes a sample request in its Readme.

Alternatively, is there another way to create this type of request?

rdobrik commented 4 months ago

We do support Blob in Java Agent. Data type is Nat8 array, we convert it to byte array in Java. Here is the sample demonstrating usage https://github.com/ic4j/samples/tree/master/IC4JImageSample. Please, let me know if you need more details.