golem-base-sdk
Preparing search index...
internal
GolemBaseActions
Type Alias GolemBaseActions
type
GolemBaseActions
=
{
createEntities
(
creates
:
GolemBaseCreate
[]
)
:
Promise
<
`
0x
${
string
}
`
>
;
createEntitiesAndWaitForReceipt
(
creates
:
GolemBaseCreate
[]
,
)
:
Promise
<
TransactionReceipt
>
;
createRawStorageTransaction
(
payload
:
`
0x
${
string
}
`
)
:
Promise
<
`
0x
${
string
}
`
>
;
deleteEntities
(
deletes
:
`
0x
${
string
}
`
[]
)
:
Promise
<
`
0x
${
string
}
`
>
;
deleteEntitiesAndWaitForReceipt
(
deletes
:
`
0x
${
string
}
`
[]
,
)
:
Promise
<
TransactionReceipt
>
;
extendEntities
(
extensions
:
GolemBaseExtend
[]
)
:
Promise
<
`
0x
${
string
}
`
>
;
extendEntitiesAndWaitForReceipt
(
extensions
:
GolemBaseExtend
[]
,
)
:
Promise
<
TransactionReceipt
>
;
getAllEntityKeys
()
:
Promise
<
GolemGetAllEntityKeysReturnType
>
;
getEntitiesForNumericAnnotationValue
(
annotation
:
NumericAnnotation
,
)
:
Promise
<
GolemGetEntitiesForNumericAnnotationValueReturnType
>
;
getEntitiesForStringAnnotationValue
(
annotation
:
StringAnnotation
,
)
:
Promise
<
GolemGetEntitiesForStringAnnotationValueReturnType
>
;
getEntitiesOfOwner
(
args
:
`
0x
${
string
}
`
,
)
:
Promise
<
GolemGetEntitiesOfOwnerReturnType
>
;
getEntitiesToExpireAtBlock
(
blockNumber
:
bigint
,
)
:
Promise
<
GolemGetEntitiesToExpireAtBlockReturnType
>
;
getEntityCount
()
:
Promise
<
number
>
;
getEntityMetaData
(
args
:
`
0x
${
string
}
`
)
:
Promise
<
EntityMetaData
>
;
getStorageValue
(
args
:
`
0x
${
string
}
`
)
:
Promise
<
string
>
;
queryEntities
(
args
:
string
)
:
Promise
<
GolemQueryEntitiesReturnType
[]
>
;
updateEntities
(
updates
:
GolemBaseUpdate
[]
)
:
Promise
<
`
0x
${
string
}
`
>
;
updateEntitiesAndWaitForReceipt
(
updates
:
GolemBaseUpdate
[]
,
)
:
Promise
<
TransactionReceipt
>
;
}
Index
Methods
create
Entities
create
Entities
And
Wait
For
Receipt
create
Raw
Storage
Transaction
delete
Entities
delete
Entities
And
Wait
For
Receipt
extend
Entities
extend
Entities
And
Wait
For
Receipt
get
All
Entity
Keys
get
Entities
For
Numeric
Annotation
Value
get
Entities
For
String
Annotation
Value
get
Entities
Of
Owner
get
Entities
To
Expire
At
Block
get
Entity
Count
get
Entity
Meta
Data
get
Storage
Value
query
Entities
update
Entities
update
Entities
And
Wait
For
Receipt
Methods
create
Entities
createEntities
(
creates
:
GolemBaseCreate
[]
)
:
Promise
<
`
0x
${
string
}
`
>
Parameters
creates
:
GolemBaseCreate
[]
Returns
Promise
<
`
0x
${
string
}
`
>
create
Entities
And
Wait
For
Receipt
createEntitiesAndWaitForReceipt
(
creates
:
GolemBaseCreate
[]
,
)
:
Promise
<
TransactionReceipt
>
Parameters
creates
:
GolemBaseCreate
[]
Returns
Promise
<
TransactionReceipt
>
create
Raw
Storage
Transaction
createRawStorageTransaction
(
payload
:
`
0x
${
string
}
`
)
:
Promise
<
`
0x
${
string
}
`
>
Parameters
payload
:
`
0x
${
string
}
`
Returns
Promise
<
`
0x
${
string
}
`
>
delete
Entities
deleteEntities
(
deletes
:
`
0x
${
string
}
`
[]
)
:
Promise
<
`
0x
${
string
}
`
>
Parameters
deletes
:
`
0x
${
string
}
`
[]
Returns
Promise
<
`
0x
${
string
}
`
>
delete
Entities
And
Wait
For
Receipt
deleteEntitiesAndWaitForReceipt
(
deletes
:
`
0x
${
string
}
`
[]
,
)
:
Promise
<
TransactionReceipt
>
Parameters
deletes
:
`
0x
${
string
}
`
[]
Returns
Promise
<
TransactionReceipt
>
extend
Entities
extendEntities
(
extensions
:
GolemBaseExtend
[]
)
:
Promise
<
`
0x
${
string
}
`
>
Parameters
extensions
:
GolemBaseExtend
[]
Returns
Promise
<
`
0x
${
string
}
`
>
extend
Entities
And
Wait
For
Receipt
extendEntitiesAndWaitForReceipt
(
extensions
:
GolemBaseExtend
[]
,
)
:
Promise
<
TransactionReceipt
>
Parameters
extensions
:
GolemBaseExtend
[]
Returns
Promise
<
TransactionReceipt
>
get
All
Entity
Keys
getAllEntityKeys
()
:
Promise
<
GolemGetAllEntityKeysReturnType
>
Returns
Promise
<
GolemGetAllEntityKeysReturnType
>
get
Entities
For
Numeric
Annotation
Value
getEntitiesForNumericAnnotationValue
(
annotation
:
NumericAnnotation
,
)
:
Promise
<
GolemGetEntitiesForNumericAnnotationValueReturnType
>
Parameters
annotation
:
NumericAnnotation
Returns
Promise
<
GolemGetEntitiesForNumericAnnotationValueReturnType
>
get
Entities
For
String
Annotation
Value
getEntitiesForStringAnnotationValue
(
annotation
:
StringAnnotation
,
)
:
Promise
<
GolemGetEntitiesForStringAnnotationValueReturnType
>
Parameters
annotation
:
StringAnnotation
Returns
Promise
<
GolemGetEntitiesForStringAnnotationValueReturnType
>
get
Entities
Of
Owner
getEntitiesOfOwner
(
args
:
`
0x
${
string
}
`
,
)
:
Promise
<
GolemGetEntitiesOfOwnerReturnType
>
Parameters
args
:
`
0x
${
string
}
`
Returns
Promise
<
GolemGetEntitiesOfOwnerReturnType
>
get
Entities
To
Expire
At
Block
getEntitiesToExpireAtBlock
(
blockNumber
:
bigint
,
)
:
Promise
<
GolemGetEntitiesToExpireAtBlockReturnType
>
Get all entity keys for entities that will expire at the given block number
Parameters
blockNumber
:
bigint
Returns
Promise
<
GolemGetEntitiesToExpireAtBlockReturnType
>
get
Entity
Count
getEntityCount
()
:
Promise
<
number
>
Returns
Promise
<
number
>
get
Entity
Meta
Data
getEntityMetaData
(
args
:
`
0x
${
string
}
`
)
:
Promise
<
EntityMetaData
>
Parameters
args
:
`
0x
${
string
}
`
Returns
Promise
<
EntityMetaData
>
get
Storage
Value
getStorageValue
(
args
:
`
0x
${
string
}
`
)
:
Promise
<
string
>
Parameters
args
:
`
0x
${
string
}
`
Returns
Promise
<
string
>
query
Entities
queryEntities
(
args
:
string
)
:
Promise
<
GolemQueryEntitiesReturnType
[]
>
Parameters
args
:
string
Returns
Promise
<
GolemQueryEntitiesReturnType
[]
>
update
Entities
updateEntities
(
updates
:
GolemBaseUpdate
[]
)
:
Promise
<
`
0x
${
string
}
`
>
Parameters
updates
:
GolemBaseUpdate
[]
Returns
Promise
<
`
0x
${
string
}
`
>
update
Entities
And
Wait
For
Receipt
updateEntitiesAndWaitForReceipt
(
updates
:
GolemBaseUpdate
[]
,
)
:
Promise
<
TransactionReceipt
>
Parameters
updates
:
GolemBaseUpdate
[]
Returns
Promise
<
TransactionReceipt
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
Entities
create
Entities
And
Wait
For
Receipt
create
Raw
Storage
Transaction
delete
Entities
delete
Entities
And
Wait
For
Receipt
extend
Entities
extend
Entities
And
Wait
For
Receipt
get
All
Entity
Keys
get
Entities
For
Numeric
Annotation
Value
get
Entities
For
String
Annotation
Value
get
Entities
Of
Owner
get
Entities
To
Expire
At
Block
get
Entity
Count
get
Entity
Meta
Data
get
Storage
Value
query
Entities
update
Entities
update
Entities
And
Wait
For
Receipt
golem-base-sdk
Loading...
Get all entity keys for entities that will expire at the given block number