Skip to main content

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

NameType
configApiConfig
masaConfigMasaConfig

Returns

MasaArweave

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
NameType
apiConfigApiConfig
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

NameType
queryobject

Returns

Promise\<string[]>

Inherited from

Arweave.arql


createSiloTransaction

createSiloTransaction(attributes, jwk, siloUri): Promise\<default>

Parameters

NameType
attributesPartial\<CreateTransactionInterface>
jwkJWKInterface
siloUristring

Returns

Promise\<default>

Inherited from

Arweave.createSiloTransaction


createTransaction

createTransaction(attributes, jwk?): Promise\<default>

Parameters

NameType
attributesPartial\<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

NameTypeDefault value
txIdstringundefined
isStringbooleantrue

Returns

Promise\<undefined | object | Uint8Array>