Search
Preparing search index...
The search index is not available
@threefold/grid_client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@threefold/grid_client
stellar
Class stellar
Hierarchy
stellar
Implements
blockchainInterface
Index
Constructors
constructor
Properties
backend
Storage
config
file
Name
mnemonic
tf
Client
Methods
_load
assets
balance_
by_
address
create
delete
exist
get
get
Wallet
Secret
init
list
pay
save
save
IfKVStore
Backend
sign
update
verify
Constructors
constructor
new stellar
(
config
:
GridClientConfig
)
:
stellar
Parameters
config:
GridClientConfig
Returns
stellar
Properties
backend
Storage
backend
Storage
:
BackendStorage
config
config
:
GridClientConfig
file
Name
file
Name
:
string
= "stellar.json"
mnemonic
mnemonic
:
string
tf
Client
tf
Client
:
TFClient
Methods
_load
_load
(
)
:
Promise
<
any
[]
>
Returns
Promise
<
any
[]
>
assets
assets
(
options
:
BlockchainGetModel
)
:
Promise
<
BlockchainAssetsModel
>
Parameters
options:
BlockchainGetModel
Returns
Promise
<
BlockchainAssetsModel
>
balance_
by_
address
balance_
by_
address
(
options
:
StellarWalletBalanceByAddressModel
)
:
Promise
<
BlockchainAssetModel
[]
>
Parameters
options:
StellarWalletBalanceByAddressModel
Returns
Promise
<
BlockchainAssetModel
[]
>
create
create
(
options
:
StellarWalletCreateModel
)
:
Promise
<
BlockchainCreateResultModel
>
Parameters
options:
StellarWalletCreateModel
Returns
Promise
<
BlockchainCreateResultModel
>
delete
delete
(
options
:
BlockchainDeleteModel
)
:
Promise
<
string
>
Parameters
options:
BlockchainDeleteModel
Returns
Promise
<
string
>
exist
exist
(
options
:
BlockchainGetModel
)
:
Promise
<
boolean
>
Parameters
options:
BlockchainGetModel
Returns
Promise
<
boolean
>
get
get
(
options
:
BlockchainGetModel
)
:
Promise
<
BlockchainGetResultModel
>
Parameters
options:
BlockchainGetModel
Returns
Promise
<
BlockchainGetResultModel
>
get
Wallet
Secret
get
Wallet
Secret
(
name
:
string
)
:
Promise
<
any
>
Parameters
name:
string
Returns
Promise
<
any
>
init
init
(
options
:
StellarWalletInitModel
)
:
Promise
<
any
>
Parameters
options:
StellarWalletInitModel
Returns
Promise
<
any
>
list
list
(
)
:
Promise
<
BlockchainListResultModel
[]
>
Returns
Promise
<
BlockchainListResultModel
[]
>
pay
pay
(
options
:
StellarWalletTransferModel
)
:
Promise
<
any
>
Parameters
options:
StellarWalletTransferModel
Returns
Promise
<
any
>
save
save
(
name
:
string
, secret
:
string
)
:
Promise
<
void
>
Parameters
name:
string
secret:
string
Returns
Promise
<
void
>
Private
save
IfKVStore
Backend
save
IfKVStore
Backend
(
extrinsics
:
any
)
:
Promise
<
void
>
Parameters
extrinsics:
any
Returns
Promise
<
void
>
sign
sign
(
options
:
BlockchainSignModel
)
:
Promise
<
string
>
Parameters
options:
BlockchainSignModel
Returns
Promise
<
string
>
update
update
(
options
:
StellarWalletInitModel
)
:
Promise
<
any
>
Parameters
options:
StellarWalletInitModel
Returns
Promise
<
any
>
verify
verify
(
options
:
StellarWalletVerifyModel
)
:
Promise
<
any
>
Parameters
options:
StellarWalletVerifyModel
Returns
Promise
<
any
>
Exports
stellar
constructor
backend
Storage
config
file
Name
mnemonic
tf
Client
_load
assets
balance_
by_
address
create
delete
exist
get
get
Wallet
Secret
init
list
pay
save
save
IfKVStore
Backend
sign
update
verify
Generated using
TypeDoc