Skip to content
On this page

Instantiation โ€‹

Basic instantiation โ€‹

Fa2Nft โ€‹

python
ExampleFa2Nft(
        metadata = sp.utils.metadata_of_url("http://example.com")
    )

Fa2Fungible โ€‹

python
ExampleFa2Fungible(
        metadata = sp.utils.metadata_of_url("http://example.com")
    )

Fa2SingleAsset โ€‹

python
ExampleFa2SingleAsset(
        metadata = sp.utils.metadata_of_url("http://example.com")
    )

Optional arguments โ€‹

The base classes accept optional entrypoints.