Class AssetTransferAddress
Methods
getLockScriptHashAndParameters
getLockScriptHashAndParameters( ) : object
Returns object
lockScriptHash: H256
parameters: Buffer []
Static check
Parameters
Returns boolean
Static fromLockScriptHash
Parameters
lockScriptHash: H256
Default value options: object = {}
Optional networkId?: undefined | string
Optional version?: undefined | number
Static fromLockScriptHashAndParameters
Parameters
params: object
lockScriptHash: H256 | string
parameters: Buffer []
Static fromPublicKeyHash
Parameters
publicKeyHash: H256
Default value options: object = {}
Optional networkId?: undefined | string
Optional version?: undefined | number
Static fromTypeAndPayload
Parameters
type: number
payload: H256 | string
Default value options: object = {}
Optional networkId?: undefined | string
Optional version?: undefined | number
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Substitutes for asset owner data which consists of network id, lockScriptHash, parameters. The network id is represented with prefix "cca"(mainnet) or "tca"(testnet). Currently version 0 exists only.
Refer to the spec for the details about AssetTransferAddress. https://github.com/CodeChain-io/codechain/blob/master/spec/CodeChain-Address.md