- Preparing search index...
- The search index is not available
@gibme/web3
Class IPFSGatewayHelperAbstract
Accessors
Static
gateway
- get gateway(): string
-
Returns string
Methods
Static
fetch
- fetch<Type>(path, payloadType?, retries?): Promise<Type>
-
Parameters
-
path: string
-
payloadType: "buffer" | "text" | "json" = 'json'
-
retries: number = 3
Returns Promise<Type>
Static
registerGateway
- registerGateway(path): void
-
Returns void
Selects a random gateway