platrust-wallet-js-sdk / Exports
- ApproveToken
- ExecutionResult
- FailedOp
- Logs
- ParsedTransaction
- Result
- ReturnInfo
- StakeInfo
- UserOperationReceipt
- ValidationResult
Ƭ NumberLike: number
| string
number like type
▸ decodeSignature(packedSignature
): Object
Name | Type |
---|---|
packedSignature |
string |
Object
Name | Type |
---|---|
aggregator |
string |
signature |
string |
signatureMode |
BigNumber |
validAfter |
BigNumber |
validUntil |
BigNumber |
validationData |
BigNumber |
▸ encodeSignature(signatureMode
, signature
, validAfter?
, validUntil?
, aggregator?
): string
Static
Name | Type | Default value |
---|---|---|
signatureMode |
SignatureMode |
undefined |
signature |
string |
undefined |
validAfter? |
number |
0 |
validUntil? |
number |
0 |
aggregator? |
string |
AddressZero |
string
▸ packSignatureHash(hash
, signatureMode?
, validAfter?
, validUntil?
, aggregator?
): string
Name | Type | Default value |
---|---|---|
hash |
string |
undefined |
signatureMode |
SignatureMode |
SignatureMode.owner |
validAfter? |
number |
0 |
validUntil? |
number |
0 |
aggregator? |
string |
AddressZero |
string
▸ recoverAddress(msg
, signature
): string
Name | Type |
---|---|
msg |
string |
signature |
string |
string
▸ signMessage(msg
, privateKey
): string
Name | Type |
---|---|
msg |
string |
privateKey |
string |
string