Properties
Optional
codeData
codeData?: Uint8Array
Optional
codeHash
codeHash?: string
Optional
codePath
codePath?: string | URL
Accessors
[toStringTag]
- get [toStringTag](): string
Returns string
canFetch
- get canFetch(): boolean
Returns boolean
canFetchInfo
- get canFetchInfo(): string
Returns string
canUpload
- get canUpload(): boolean
Returns boolean
canUploadInfo
- get canUploadInfo(): string
Returns string
Methods
Protected
doFetch
- doFetch(): Promise<Uint8Array>
Returns Promise<Uint8Array>
fetch
- fetch(): Promise<Uint8Array>
Returns Promise<Uint8Array>
serialize
- serialize(): {
codeHash?: string;
codePath?: string;
[key: string]: unknown;
} Returns {
codeHash?: string;
codePath?: string;
[key: string]: unknown;
}
[key: string]: unknown
Optional
codeHash?: string
Optional
codePath?: string
Static
toCodeHash
- toCodeHash(data): string
Returns string
An object representing a given compiled binary.