Skip to main content

Documentation Index

Fetch the complete documentation index at: https://primer.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

This method returns a card asset for the specified card network. If an asset is not available, nil is returned. The SDK must be initialized before this method is called or an error will be thrown.
SWIFT
public static func getCardNetworkAsset(for cardNetwork: CardNetwork) throws -> PrimerCardNetworkAsset?

Parameters

Returns