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
algorand
Class algorand
Hierarchy
algorand
Implements
blockchainInterface
Index
Constructors
constructor
Properties
backend
Storage
base
Url
config
file
Name
tf
Client
Methods
_load
assets
assets
By
Address
create
create
Transaction
delete
exist
get
init
list
pay
save
save
IfKVStore
Backend
sign
sign_
txn
Constructors
constructor
new algorand
(
config
:
GridClientConfig
)
:
algorand
Parameters
config:
GridClientConfig
Returns
algorand
Properties
backend
Storage
backend
Storage
:
BackendStorage
base
Url
base
Url
:
string
= "http://node.testnet.algoexplorerapi.io/"
config
config
:
GridClientConfig
file
Name
file
Name
:
string
= "algorand.json"
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
>
assets
By
Address
assets
By
Address
(
options
:
AlgorandAccountAssetsFromAddressModel
)
:
Promise
<
BlockchainAssetModel
[]
>
Parameters
options:
AlgorandAccountAssetsFromAddressModel
Returns
Promise
<
BlockchainAssetModel
[]
>
create
create
(
options
:
AlgorandAccountCreateModel
)
:
Promise
<
BlockchainCreateResultModel
>
Parameters
options:
AlgorandAccountCreateModel
Returns
Promise
<
BlockchainCreateResultModel
>
create
Transaction
create
Transaction
(
options
:
AlgorandCreateTransactionModel
)
:
Promise
<
Transaction
>
Parameters
options:
AlgorandCreateTransactionModel
Returns
Promise
<
Transaction
>
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
>
init
init
(
options
:
AlgorandAccountInitModel
)
:
Promise
<
string
>
Parameters
options:
AlgorandAccountInitModel
Returns
Promise
<
string
>
list
list
(
)
:
Promise
<
BlockchainListResultModel
[]
>
Returns
Promise
<
BlockchainListResultModel
[]
>
pay
pay
(
options
:
AlgorandTransferModel
)
:
Promise
<
any
>
Parameters
options:
AlgorandTransferModel
Returns
Promise
<
any
>
save
save
(
name
:
string
, value
:
string
)
:
Promise
<
void
>
Parameters
name:
string
value:
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
>
sign_
txn
sign_
txn
(
options
:
AlgorandSignatureModel
)
:
Promise
<
{
blob
:
Uint8Array
;
txID
:
string
}
>
Parameters
options:
AlgorandSignatureModel
Returns
Promise
<
{
blob
:
Uint8Array
;
txID
:
string
}
>
Exports
algorand
constructor
backend
Storage
base
Url
config
file
Name
tf
Client
_load
assets
assets
By
Address
create
create
Transaction
delete
exist
get
init
list
pay
save
save
IfKVStore
Backend
sign
sign_
txn
Generated using
TypeDoc