live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/stamp-core


@orangecheck/stamp-core / StampInput

Interface: StampInput

Defined in: stamp-core/src/types.ts:73

Properties

PropertyTypeDescriptionDefined in
<a id="property-content"></a> content| Uint8Array&lt;ArrayBufferLike> | &#123; hash: string; length: number; &#125;The bytes being stamped, or their pre-computed hash. Exactly one is required.stamp-core/src/types.ts:75
<a id="property-mime"></a> mimestring-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?DateDefaults to now.stamp-core/src/types.ts:88
<a id="property-signer"></a> signer&#123; address: string; signMessage: (msg: string) => Promise&lt;string>; &#125;-stamp-core/src/types.ts:78
signer.addressstring-stamp-core/src/types.ts:79
signer.signMessage(msg: string) => Promise&lt;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