FrameSignature.fromRpc
Converts an RPC signature entry to a structured frame signature.
Imports
Named
import { FrameSignature } from 'ox'Examples
Basic Usage
import { FrameSignature } from 'ox'
const entry = FrameSignature.fromRpc({
msg: '0x',
scheme: 0,
signature: '0xdeadbeef'
})Definition
function fromRpc(
entry: Rpc,
): FrameSignatureSource: src/core/FrameSignature.ts
Parameters
entry
- Type:
Rpc
The value to convert.
entry.msg
- Type:
0x${string}
Explicit digest, or empty bytes for the transaction signing hash.
entry.scheme
- Type:
0 | 1 | 2
Signature verification scheme.
entry.signature
- Type:
0x${string}
Encoded signature bytes.
entry.signer
- Type:
Address.Address | null | undefined - Optional
Signer address; absent for the transaction sender.
Return Type
The converted value.
FrameSignature

