@radixdlt/atom
Version:
Container for CRUD instructions known as 'Particles' that are sent to the Radix decentralized ledger
17 lines • 851 B
TypeScript
import { ResourceIdentifierT } from './_types';
import { Result } from 'neverthrow';
import { AddressT } from '@radixdlt/account';
export declare const isResourceIdentifier: (something: ResourceIdentifierT | unknown) => something is ResourceIdentifierT;
export declare const ResourceIdentifier: {
fromAddressAndName: (input: {
address: AddressT;
name: string;
}) => ResourceIdentifierT;
fromUnsafe: (input: ResourceIdentifierT | string) => Result<ResourceIdentifierT, Error>;
fromString: (identifierString: string) => Result<ResourceIdentifierT, Error>;
fromJSON: (json: unknown) => Result<ResourceIdentifierT, Error[]>;
JSONDecoders: import("@radixdlt/data-formats").Decoder[];
JSON_TAG: string;
JSONDecoder: import("@radixdlt/data-formats").Decoder;
};
//# sourceMappingURL=resourceIdentifier.d.ts.map