Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 751 Bytes

token.md

File metadata and controls

48 lines (34 loc) · 751 Bytes

Token API

Back to the navigation

Allows interacting with the Token API.

Get details about a POAP token

$response = $client->token()->show(1310287);

Get the image for a POAP token

$response = $client->token()->image(1310287);

Get the metadata for a POAP token

$response = $client->token()->metadata(7811, 1310287);

Claim a POAP token code

$response = $client->token()->claim(
    'abcdef',
    '0x3ab56c8a5E4B307A60b6A769B1C083EE165d6dd6'
);

Get the secret for a POAP token code

$response = $client->token()->claimSecret(
    'abcdef'
);

Get the status of a POAP token code

$response = $client->token()->claimStatus(
    'abcdef'
);