@interlay/interbtc-api / Exports / DecodedRequestExt
Omit<DecodedRequest, "btc_address">
↳ DecodedRequestExt
• Type: Object
Omit.Type
node_modules/@polkadot/types-codec/native/Struct.d.ts:50
• Readonly [toStringTag]: string
Omit.[toStringTag]
node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:137
• btc_address: string
• Optional createdAtHash: IU8a
Omit.createdAtHash
node_modules/@polkadot/types-codec/native/Struct.d.ts:26
• defKeys: string[]
Omit.defKeys
node_modules/@polkadot/types-codec/native/Struct.d.ts:34
• encodedLength: number
Omit.encodedLength
node_modules/@polkadot/types-codec/native/Struct.d.ts:42
• hash: IU8a
Omit.hash
node_modules/@polkadot/types-codec/native/Struct.d.ts:46
• Optional initialU8aLength: number
Omit.initialU8aLength
node_modules/@polkadot/types-codec/native/Struct.d.ts:27
• isEmpty: boolean
Omit.isEmpty
node_modules/@polkadot/types-codec/native/Struct.d.ts:38
• Optional isStorageFallback: boolean
Omit.isStorageFallback
node_modules/@polkadot/types-codec/native/Struct.d.ts:28
• Readonly registry: Registry
Omit.registry
node_modules/@polkadot/types-codec/native/Struct.d.ts:25
• Readonly size: number
Omit.size
node_modules/typescript/lib/lib.es2015.collection.d.ts:45
▸ [iterator](): MapIterator<[string, Codec]>
Returns an iterable of entries in the map.
MapIterator<[string, Codec]>
Omit.[iterator]
node_modules/typescript/lib/lib.es2015.iterable.d.ts:143
▸ clear(): void
void
Omit.clear
node_modules/typescript/lib/lib.es2015.collection.d.ts:20
▸ delete(key): boolean
| Name | Type |
|---|---|
key |
string |
boolean
true if an element in the Map existed and has been removed, or false if the element does not exist.
Omit.delete
node_modules/typescript/lib/lib.es2015.collection.d.ts:24
▸ entries(): MapIterator<[string, Codec]>
Returns an iterable of key, value pairs for every entry in the map.
MapIterator<[string, Codec]>
Omit.entries
node_modules/typescript/lib/lib.es2015.iterable.d.ts:148
▸ eq(other?): boolean
| Name | Type |
|---|---|
other? |
unknown |
boolean
Description
Compares the value of the input to see if there is a match
Omit.eq
node_modules/@polkadot/types-codec/native/Struct.d.ts:54
▸ forEach(callbackfn, thisArg?): void
Executes a provided function once per each key/value pair in the Map, in insertion order.
| Name | Type |
|---|---|
callbackfn |
(value: Codec, key: string, map: Map<string, Codec>) => void |
thisArg? |
any |
void
Omit.forEach
node_modules/typescript/lib/lib.es2015.collection.d.ts:28
▸ get(key): undefined | Codec
| Name | Type | Description |
|---|---|---|
key |
string |
The name of the entry to retrieve |
undefined | Codec
Description
Returns a specific names entry in the structure
Omit.get
node_modules/@polkadot/types-codec/native/Struct.d.ts:59
▸ getAtIndex(index): Codec
| Name | Type |
|---|---|
index |
number |
Codec
Description
Returns the values of a member at a specific index (Rather use get(name) for performance)
Omit.getAtIndex
node_modules/@polkadot/types-codec/native/Struct.d.ts:63
▸ getT<T>(key): T
| Name |
|---|
T |
| Name | Type |
|---|---|
key |
string |
T
Description
Returns the a types value by name
Omit.getT
node_modules/@polkadot/types-codec/native/Struct.d.ts:67
▸ has(key): boolean
| Name | Type |
|---|---|
key |
string |
boolean
boolean indicating whether an element with the specified key exists or not.
Omit.has
node_modules/typescript/lib/lib.es2015.collection.d.ts:37
▸ inspect(isBare?): Inspect
| Name | Type |
|---|---|
isBare? |
BareOpts |
Inspect
Description
Returns a breakdown of the hex encoding for this Codec
Omit.inspect
node_modules/@polkadot/types-codec/native/Struct.d.ts:71
▸ keys(): MapIterator<string>
Returns an iterable of keys in the map
MapIterator<string>
Omit.keys
node_modules/typescript/lib/lib.es2015.iterable.d.ts:153
▸ set(key, value): this
Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.
| Name | Type |
|---|---|
key |
string |
value |
Codec |
this
Omit.set
node_modules/typescript/lib/lib.es2015.collection.d.ts:41
▸ toArray(): Codec[]
Codec[]
Description
Converts the Object to an standard JavaScript Array
Omit.toArray
node_modules/@polkadot/types-codec/native/Struct.d.ts:75
▸ toHex(): `0x${string}`
`0x${string}`
Description
Returns a hex string representation of the value
Omit.toHex
node_modules/@polkadot/types-codec/native/Struct.d.ts:79
▸ toHuman(isExtended?): Record<string, AnyJson>
| Name | Type |
|---|---|
isExtended? |
boolean |
Record<string, AnyJson>
Description
Converts the Object to to a human-friendly JSON, with additional fields, expansion and formatting of information
Omit.toHuman
node_modules/@polkadot/types-codec/native/Struct.d.ts:83
▸ toJSON(): Record<string, AnyJson>
Record<string, AnyJson>
Description
Converts the Object to JSON, typically used for RPC transfers
Omit.toJSON
node_modules/@polkadot/types-codec/native/Struct.d.ts:87
▸ toPrimitive(): Record<string, AnyJson>
Record<string, AnyJson>
Description
Converts the value in a best-fit primitive form
Omit.toPrimitive
node_modules/@polkadot/types-codec/native/Struct.d.ts:91
▸ toRawType(): string
string
Description
Returns the base runtime type name for this instance
Omit.toRawType
node_modules/@polkadot/types-codec/native/Struct.d.ts:95
▸ toString(): string
string
Description
Returns the string representation of the value
Omit.toString
node_modules/@polkadot/types-codec/native/Struct.d.ts:99
▸ toU8a(isBare?): Uint8Array
| Name | Type | Description |
|---|---|---|
isBare? |
BareOpts |
true when the value has none of the type-specific prefixes (internal) |
Uint8Array
Description
Encodes the value as a Uint8Array as per the SCALE specifications
Omit.toU8a
node_modules/@polkadot/types-codec/native/Struct.d.ts:104
▸ values(): MapIterator<Codec>
Returns an iterable of values in the map
MapIterator<Codec>
Omit.values
node_modules/typescript/lib/lib.es2015.iterable.d.ts:158