- Preparing search index...
- The search index is not available
ton-core
Constructors
constructor
- new Address(workChain: number, hash: Buffer): Address
-
Parameters
-
workChain: number
-
hash: Buffer
Properties
Readonly hash
hash: Buffer
Readonly workChain
workChain: number
Methods
[SymbolInspect]
- [SymbolInspect](): string
-
Returns string
equals
- equals(src: Address): boolean
-
Returns boolean
toRaw
- toRaw(): Buffer
-
Returns Buffer
toRawString
- toRawString(): string
-
Returns string
toString
- toString(args?: {
bounceable?: boolean;
testOnly?: boolean;
urlSafe?: boolean;
}): string
-
Parameters
-
Optional args: {
bounceable?: boolean;
testOnly?: boolean;
urlSafe?: boolean;
}
-
Optional bounceable?: boolean
-
Optional testOnly?: boolean
-
Optional urlSafe?: boolean
Returns string
toStringBuffer
- toStringBuffer(args?: {
bounceable?: boolean;
testOnly?: boolean;
}): Buffer
-
Parameters
-
Optional args: {
bounceable?: boolean;
testOnly?: boolean;
}
-
Optional bounceable?: boolean
-
Optional testOnly?: boolean
Returns Buffer
Static isFriendly
- isFriendly(source: string): boolean
-
Returns boolean
Static isRaw
- isRaw(source: string): boolean
-
Returns boolean
Static normalize
- normalize(source: string | Address): string
-
Returns string
Static parseFriendly
- parseFriendly(source: string | Buffer): {
address: Address;
isBounceable: boolean;
isTestOnly: boolean;
}
-
Returns {
address: Address;
isBounceable: boolean;
isTestOnly: boolean;
}
-
-
isBounceable: boolean
-
isTestOnly: boolean