MasaArweave
[# Masa SDK
- v3.24.7](/docs/developers/sdk/) / Exports / MasaArweave
Class: MasaArweave
Hierarchy
default
↳
MasaArweave
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new MasaArweave(config
, masaConfig
): MasaArweave
Parameters
Name | Type |
---|---|
config | ApiConfig |
masaConfig | MasaConfig |
Returns
Overrides
Arweave.constructor
Properties
api
• api: default
Inherited from
Arweave.api
ar
• ar: default
Inherited from
Arweave.ar
blocks
• blocks: default
Inherited from
Arweave.blocks
chunks
• chunks: default
Inherited from
Arweave.chunks
masaConfig
• Private
masaConfig: MasaConfig
network
• network: default
Inherited from
Arweave.network
silo
• silo: default
Inherited from
Arweave.silo
transactions
• transactions: default
Inherited from
Arweave.transactions
wallets
• wallets: default
Inherited from
Arweave.wallets
crypto
▪ Static
crypto: default
Inherited from
Arweave.crypto
init
▪ Static
init: (apiConfig
: ApiConfig
) => default
Type declaration
▸ (apiConfig
): default
Parameters
Name | Type |
---|---|
apiConfig | ApiConfig |
Returns
default
Inherited from
Arweave.init
utils
▪ Static
utils: __module
Inherited from
Arweave.utils
Accessors
crypto
• get
crypto(): default
Returns
default
Deprecated
Inherited from
Arweave.crypto
utils
• get
utils(): __module
Returns
__module
Deprecated
Inherited from
Arweave.utils
Methods
arql
▸ arql(query
): Promise
\<string
[]>
Parameters
Name | Type |
---|---|
query | object |
Returns
Promise
\<string
[]>
Inherited from
Arweave.arql
createSiloTransaction
▸ createSiloTransaction(attributes
, jwk
, siloUri
): Promise
\<default
>
Parameters
Name | Type |
---|---|
attributes | Partial \<CreateTransactionInterface > |
jwk | JWKInterface |
siloUri | string |
Returns
Promise
\<default
>
Inherited from
Arweave.createSiloTransaction
createTransaction
▸ createTransaction(attributes
, jwk?
): Promise
\<default
>
Parameters
Name | Type |
---|---|
attributes | Partial \<CreateTransactionInterface > |
jwk? | JWKInterface | "use_wallet" |
Returns
Promise
\<default
>
Inherited from
Arweave.createTransaction
getConfig
▸ getConfig(): Config
Returns
Config
Inherited from
Arweave.getConfig
loadTransactionData
▸ loadTransactionData(txId
, isString?
): Promise
\<undefined
| object
| Uint8Array
>
Parameters
Name | Type | Default value |
---|---|---|
txId | string | undefined |
isString | boolean | true |
Returns
Promise
\<undefined
| object
| Uint8Array
>