package
0.0.0-20240722160925-b0f58759d4c2
Repository: https://github.com/jmagicc/jmc-wallet-sdk.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
[zh] 该方法会捕捉 panic 抛出的值,并转成一个 error 对象通过参数指针返回
* 注意: 如果想要返回它抓住的 error, 必须使用命名返回值!!
* [en] This method will catch the value thrown by panic, and turn it into an error object and return it through the parameter pointer
* Note: If you want to return the error it caught, you must use a named return value! !
* ```
* func actionWillThrowError(parameters...) (namedErr error, other...) {
* defer CatchPanicAndMapToBasicError(&namedErr)
* // action code ..
No description provided by the author
ExtractNFTImageUrl Extract the nft's real image url.
No description provided by the author
No description provided by the author
No description provided by the author
This method will traverse the array concurrently and map each object in the array.
The encapsulation of MapListConcurrent.
@note float64 should use `math.Max()`.
Return the more biger of the two numbers.
@note float64 should use `math.Min()`.
No description provided by the author
No description provided by the author
No description provided by the author
NewBigInt allocates and returns a new BigInt set to x.
NewBigIntFromString allocates and returns a new BigInt set to x interpreted in the provided base.
NewBigInts creates a slice of uninitialized big numbers.
You need to pass in different objects to get the latency and block height of different chains.
ParseNumber @param num any format number, such as decimal "1237890123", hex "0x123ef0", "123ef0".
ParseNumberToDecimal @param num any format number, such as decimal "1237890123", hex "0x123ef0", "123ef0" @return decimal number, characters include 0-9.
ParseNumberToHex @param num any format number, such as decimal "1237890123", hex "0x123ef0", "123ef0" @return hex number start with 0x, characters include 0-9 a-f.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
如果需要自定义类型支持 Any, 需要遵循协议 Aniable.
No description provided by the author
No description provided by the author
No description provided by the author
A BigInt represents a signed multi-precision integer.
BigInts represents a slice of big ints.
No description provided by the author
OptionalBool Optional bool for easy of writing iOS code.
OptionalString Optional string for easy of writing iOS code.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Transaction details that can be fetched from the chain.
# Interfaces
No description provided by the author
No description provided by the author
exchange `Aniable Object` & `Any`.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
You can customize the test latency method of rpc.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author