@orangecheck/stamp-core / StampInput
Interface: StampInput
Defined in: stamp-core/src/types.ts:73
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-content"></a> content | | Uint8Array<ArrayBufferLike> | { hash: string; length: number; } | The bytes being stamped, or their pre-computed hash. Exactly one is required. | stamp-core/src/types.ts:75 |
<a id="property-mime"></a> mime | string | - | stamp-core/src/types.ts:76 |
<a id="property-ref"></a> ref? | string | null | - | stamp-core/src/types.ts:77 |
<a id="property-signedat"></a> signedAt? | Date | Defaults to now. | stamp-core/src/types.ts:88 |
<a id="property-signer"></a> signer | { address: string; signMessage: (msg: string) => Promise<string>; } | - | stamp-core/src/types.ts:78 |
signer.address | string | - | stamp-core/src/types.ts:79 |
signer.signMessage | (msg: string) => Promise<string> | Returns a BIP-322 base64 signature of the given message bytes as UTF-8. The caller supplies the wallet adapter. Called once per stamp() invocation. | stamp-core/src/types.ts:84 |
<a id="property-stake"></a> stake? | StampStake | null | - | stamp-core/src/types.ts:86 |