ScSignature class
Constructors
-
ScSignature({Uint8List? uuid, required Map<
String, dynamic> broadcastTx, String? origin})
Properties
-
broadcastTx
→ Map<
String, dynamic> -
Direct output of
txData.toBroadcast()after cold-side signing.final - hashCode → int
-
The hash code for this object.
no setterinherited
- origin → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uuid ↔ Uint8List?
-
Mirrors the request UUID so the hot side can match the scanned result.
getter/setter pair
Methods
-
buildCbor(
) → Map< int, CborValue> -
路径 A(扁平结构推荐):
override buildCbor() 填入字段
基类 toCborValue() 自动组装成 CborMap
inherited
-
cborBigInt(
BigInt value) → CborValue -
支持 BigInt 编码(用于 chain-id 等大整数场景)
inherited
-
cborBytes(
Uint8List data, {List< int> ? tags}) → CborBytes -
inherited
-
cborInt(
int value) → CborValue -
inherited
-
decodeFromCbor(
CborMap map) → RegistryItem -
getRegistryType(
) → RegistryType -
getRequestId(
) → Uint8List -
getRequestIdString(
) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCBOR(
) → Uint8List -
inherited
-
toCborValue(
) → CborValue - 统一编码入口
-
toString(
) → String -
A string representation of this object.
inherited
-
toUR(
) → UR -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
buildUR(
{String? requestId, required Map< String, dynamic> broadcastTx, String? origin}) → UR -
fromCBOR(
Uint8List cborPayload) → ScSignature -
fromSignedTx(
{required ScSignRequest request, required Map< String, dynamic> broadcastTx}) → UR -
fromUR(
UR ur) → ScSignature