def METHOD_NAME(signer, verb, name, value):
    payload = cbor.dumps({'Verb': verb, 'Name': name, 'Value': value},
                         sort_keys=True)
    addresses = [make_intkey_address(name)]
    nonce = hex(random.randint(0, 2**64))
    txn_pub_key = signer.get_public_key().as_hex()
    header = TransactionHeader(
        signer_public_key=txn_pub_key,
        family_name="intkey",
        family_version="1.0",
        inputs=addresses,
        outputs=addresses,
        dependencies=[],
        payload_sha512=hashlib.sha512(payload).hexdigest(),
        batcher_public_key=signer.get_public_key().as_hex(),
        nonce=nonce
    )
    signature = signer.sign(header.SerializeToString())
    return Transaction(
        header=header.SerializeToString(),
        payload=payload,
        header_signature=signature)