Optional
overrides?: NamedPackagesPluginCacheOptional
pageThe number of names to resolve in each batch request. Needs to be calculated based on the GraphQL query limits.
The SuiGraphQLClient to use for resolving names.
The endpoint should be the GraphQL endpoint of the network you are targeting.
For non-mainnet networks, if the plugin doesn't work as expected, you need to validate that the
RPC provider has support for the packageByName
and typeByName
queries (using external resolver).
Local overrides for the resolution plugin. Pass this to pre-populate the cache with known packages / types (especially useful for local or CI testing).
{ packages: { 'std@framework': '0x1234', }, types: { 'std@framework::string::String': '0x1234::string::String', }, }