utils

package
v0.37.8-migration-mainnet Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2024 License: AGPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToCadenceUInt8Array

func BytesToCadenceUInt8Array(b []byte) cadence.Array

BytesToCadenceUInt8Array converts a `[]byte` into the cadence representation of `[Uint8]`

func EncodeArgs

func EncodeArgs(args []cadence.Value) ([]byte, error)

EncodeArgs JSON encodes the cadence arguments to the format require by the `flow transactions build` command line. Example of output: https://app.zenhub.com/files/189500829/12503cd3-923e-40db-9f63-8e5bb96b6a99/download

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL